Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache lifetimes for frontend components #2625

Closed
2 tasks
acouch opened this issue Oct 29, 2024 · 0 comments · Fixed by #3100 or #3187
Closed
2 tasks

Add cache lifetimes for frontend components #2625

acouch opened this issue Oct 29, 2024 · 0 comments · Fixed by #3100 or #3187
Assignees

Comments

@acouch
Copy link
Collaborator

acouch commented Oct 29, 2024

Summary

The frontend and CDN will cache items across a couple of fronts. This task is to determine the correct cache lifetimes, document those, and implement them. The implementation should only be for adding or updating values for existing features / tools, not implementing new caches.

An in-exhaustive list includes.

  • Fetch cache from server actions
  • ISR cache (revalidate var) for opportunity and other pages
  • cache lifetime for 404s in the CDN
  • cache lifetime in the CDN for assets (images, files)

This ticket would entail updating the distribution settings in the CDN. If that is too much scope for a single ticket we could break them up.

Acceptance criteria

  • cache lifetimes documented
  • cache lifetime values updated or a new ticket is created if more work is needed to implement a value
@mxk0 mxk0 moved this from Icebox to Todo in Simpler.Grants.gov Product Backlog Nov 11, 2024
acouch added a commit that referenced this issue Dec 4, 2024
@acouch acouch self-assigned this Dec 5, 2024
@acouch acouch moved this from Todo to In Review in Simpler.Grants.gov Product Backlog Dec 5, 2024
@acouch acouch changed the title Determine and Document cache lifetimes for frontend components Add cache lifetimes for frontend components Dec 5, 2024
@acouch acouch closed this as completed in 978ebbb Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1 participant