Skip to content

Commit

Permalink
Add CloudFront post back to dev site (#15)
Browse files Browse the repository at this point in the history
* Add CloudFront post back to dev site

* Update CloudFront post with diagrams

* Adjust cache values

* Add a few details

* Add caching to sitemap file

* Finish CloudFront/S3 blog post

* Update index.md

* Update index.md
  • Loading branch information
loganmarchione authored Nov 8, 2023
1 parent f2c795a commit f951b3c
Show file tree
Hide file tree
Showing 15 changed files with 777 additions and 10 deletions.
12 changes: 7 additions & 5 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,21 @@ deployment:
cloudFrontDistributionID: CLOUDFRONT_DISTRIBUTION_PRD
matchers:
# cached with gzip compression enabled
- pattern: "^.+\\.(js|css|svg|ttf)$"
cacheControl: "max-age=86400, no-transform, public"
- pattern: "^.+\\.(js|css|md|otf|svg|ttf|txt)$"
cacheControl: "max-age=604800, no-transform, public"
gzip: true
# cached with gzip compression disabled
- pattern: "^.+\\.(atom|bmp|gif|ico|jpeg|jpg|pdf|png|rss|tiff|woff|woff2|zip)$"
cacheControl: "max-age=86400, no-transform, public"
- pattern: "^.+\\.(bmp|gif|ico|jpeg|jpg|mp3|mp4|pdf|png|rss|tiff|woff|woff2)$"
cacheControl: "max-age=604800, no-transform, public"
gzip: false
# sitemap gets a special content-type header
- pattern: "^sitemap\\.xml$"
contentType: "application/xml"
cacheControl: "max-age=3600, no-transform, public"
gzip: true
# not cached with gzip compression enabled
# cached with gzip compression enabled
- pattern: "^.+\\.(html|json|xml)$"
cacheControl: "max-age=3600, no-transform, public"
gzip: true

params:
Expand Down
180 changes: 180 additions & 0 deletions content/posts/2023/11/20211012_001.drawio

Large diffs are not rendered by default.

Binary file added content/posts/2023/11/20211012_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 136 additions & 0 deletions content/posts/2023/11/20230921_001.drawio

Large diffs are not rendered by default.

Binary file added content/posts/2023/11/20230921_001p1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20230921_001p2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/posts/2023/11/20231108_006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
448 changes: 448 additions & 0 deletions content/posts/2023/11/index.md

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions layouts/shortcodes/series/s_hugo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Hey! Listen! This post is part of a series on deploying Hugo. Check them all out!
| Date | URL | Part |
|------------|-----------------------------------------------------------------------------------------------------|--------------------------------|
| 2022-02-08 | [Deploying Hugo with Netlify](/2022/02/deploying-hugo-with-netlify/) | Deploying on Netlify |
| 2021-10-13 | [Deploying Hugo with CloudFront and S3](/2021/10/deploying-hugo-with-cloudfront-and-s3/) | Deploying on CloudFront and S3 |
| 2021-09-21 | [Deploying Hugo with AWS Amplify ](/2021/09/deploying-hugo-with-aws-amplify/) | Deploying on Amplify |
| Date | URL | Part |
|------------|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
| 2023-11-08 | [Deploying Hugo with CloudFront and S3 (for real this time)](/2023/11/deploying-hugo-with-cloudfront-and-s3-for-real-this-time/) | Deploying Hugo with CloudFront and S3 (for real this time) |
| 2022-02-08 | [Deploying Hugo with Netlify](/2022/02/deploying-hugo-with-netlify/) | Deploying on Netlify |
| 2021-10-13 | [Deploying Hugo with CloudFront and S3](/2021/10/deploying-hugo-with-cloudfront-and-s3/) | Deploying on CloudFront and S3 |
| 2021-09-21 | [Deploying Hugo with AWS Amplify ](/2021/09/deploying-hugo-with-aws-amplify/) | Deploying on Amplify |
Binary file added static/assets/memes/good_news_everyone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f951b3c

Please sign in to comment.