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 proper caching and cache busting strategy #4

Closed
2 tasks done
thescientist13 opened this issue Mar 27, 2022 · 2 comments · Fixed by #7 or #8
Closed
2 tasks done

add proper caching and cache busting strategy #4

thescientist13 opened this issue Mar 27, 2022 · 2 comments · Fixed by #7 or #8
Assignees
Labels
feature New feature or request

Comments

@thescientist13
Copy link
Contributor

thescientist13 commented Mar 27, 2022

Right now all the data is set to not cache, which means all hits through CloudFront will be a miss. What I would like is to

  1. Have long-lived cache at the origin layer
  2. Upon publish in Contentful, clear that cache programmatically in CloudFront
@thescientist13 thescientist13 added the feature New feature or request label Mar 27, 2022
@thescientist13 thescientist13 self-assigned this Mar 27, 2022
@thescientist13 thescientist13 moved this from Todo to In Progress in General Activities Mar 29, 2022
Repository owner moved this from In Progress to Done in General Activities Mar 29, 2022
@thescientist13 thescientist13 moved this from Done to In Progress in General Activities Mar 29, 2022
@thescientist13
Copy link
Contributor Author

For some reason, the production function isn't working with Contentful, so needing to use staging function for now.

@thescientist13 thescientist13 linked a pull request Mar 30, 2022 that will close this issue
@thescientist13
Copy link
Contributor Author

Phew, got it working! 🏆
#8 (comment)

Repository owner moved this from In Progress to Done in General Activities Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
No open projects
1 participant