Skip to content

ACHOO-119: Implement Local and Vercel Caching#21

Closed
jbickar wants to merge 47 commits into2.xfrom
ACHOO-119-20251015
Closed

ACHOO-119: Implement Local and Vercel Caching#21
jbickar wants to merge 47 commits into2.xfrom
ACHOO-119-20251015

Conversation

@jbickar
Copy link
Contributor

@jbickar jbickar commented Nov 15, 2025

READY FOR REVIEW

DO NOT MERGE

  • I've created an integration branch, 2.x-integration, that likely will become a 3.x. This PR is for review purposes.

Summary

  • This PR introduces a comprehensive 5-minute hybrid caching system and a new applications overview page

Review By (Date)

  • 12/5/2025

Criticality

  • How critical is this PR on a 1-10 scale? 10/10 cache rules everything around me

Review Tasks

Cache System Testing

Local Development (File-based cache):

  1. Visit http://localhost:3000
  2. Fetch analytics data, note loading time
  3. Refresh page within 5 minutes - should load instantly (cached)
  4. Wait 5+ minutes, refresh - should fetch fresh data
  5. Check .cache directory for cache files

Vercel Testing:

  1. Deploy to Vercel staging environment
  2. Test cache behavior across multiple Vercel serverless instances
  3. Verify deployment-based cache invalidation
  4. Use "Clear Cache" buttons to test manual clearing

Applications Overview Page

Basic Functionality:

  1. Navigate to /applications
  2. Verify table auto-loads without manual refresh
  3. Check Pacific time display updates
  4. Confirm excluded UUIDs don't appear in table
  5. Test application links navigate to detail pages

Data Validation:

  1. Verify views/visits totals are accurate
  2. Check percentage calculations add up correctly
  3. Confirm Stanford Design System styling (alternating table rows, proper colors)

Front End Validation

  • Is the markup using the appropriate semantic tags and passes HTML validation?
  • Cross-browser testing has been performed?
  • Automated accessibility scans performed?
  • Manual accessibility tests performed?
  • Design is approved by @ user?

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided? eg (unit, behat, or codeception)

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

Affected Projects or Products

  • CHURRO

Associated Issues and/or People

  • JIRA ticket(s): ACHOO-119

Resources

Cache clearing works on local
Cache persists across instances on Vercel
Cache clearing does not work on Vercel
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jbickar jbickar added the ai-generated Code in this PR was partially or wholly generated by AI label Nov 24, 2025
@jbickar jbickar self-assigned this Nov 24, 2025
@jbickar jbickar mentioned this pull request Nov 25, 2025
14 tasks
@jbickar jbickar requested a review from joegl December 9, 2025 17:00
@jbickar
Copy link
Contributor Author

jbickar commented Jan 13, 2026

Implemented in 3.x

@jbickar jbickar closed this Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Code in this PR was partially or wholly generated by AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant