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

Fix: static file cache policy #69

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

gedaaaa
Copy link

@gedaaaa gedaaaa commented May 16, 2024

see validation results here:
https://github.com/getjerry/jerry-serverless/pull/31797

  • use SWR for htmls.
  • add new cloudfront behavior that handles chunks
    • use immutable cache strategy for chunks because their file name has hash tag
  • use shared cache (CDN) control strategy for other file under /_next/static because they might change between deployments

meng added 15 commits May 15, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant