Files
joeac.net/README.md
2024-01-29 18:52:19 +00:00

19 lines
661 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# personal-website
Joe Carstairs' personal website
## Invalidating the CloudFront cache
When you update pages, youll need to invalidate the CloudFront cache in order
for CloudFront to serve the new versions before the caches expire (which could
be a while). Heres how to do it:
1. Go to the CloudFront console
2. Select the distribution for this website
3. Go to the Invalidations tab
4. Add a new Invalidation
5. Include all pages youve updated
- Use the relative URL, not the filepath, e.g. "/blog/" not "/blog/index.html"
- Include the trailing "/" or it wont work
- You can use wildcards to make life easier, e.g. "/blog/2024/01/29/*"