Fix "Efficient Cache Policy" Warning on PageSpeed Insights When Using Amazon CloudFront

Get rid of the efficient cache policy warning on PageSpeed Insights by adding a Cache-Control header to CloudFront.

2025-01-02 · [Updated 2025-08-14] · 188 words
How to Add a Custom Response Header to an Amazon Cloudfront Distribution

Adding a custom header to AWS CloudFront Distribution responses.

2025-01-01 · [Updated 2025-08-14] · 382 words
How to Generate the Current Date and Time in Hugo

How to generate dates and times with Hugo shortcodes.

2024-12-22 · [Updated 2025-08-14] · 443 words
Render HTML and CSS if JavaScript Is Disabled Using the `<noscript>` Tag

Render HTML and apply CSS styles if JavaScript is disabled.

The prefers-reduced-motion CSS Media Query

Apply CSS styles when a user enables reduced motion on their device.

2024-11-27 · [Updated 2025-08-14] · 181 words
Leaving Proton Mail

Reasons why I won’t renew my Proton subscription.

Preserve Child Objects When Parent Objects Are Deleted in Ruby on Rails

Use “dependent: :nullify” to prevent child objects from getting deleted.

Remove Shadows From Screenshots in macOS

How to remove annoying shadows on MacOS screenshots.

2024-10-05 · [Updated 2025-08-14] · 121 words
AI-Generated Images Discourage Me From Reading Your Blog

If you’re willing to use AI-generated images, how do I know the text isn’t AI-generated?

2024-10-01 · [Updated 2025-08-14] · 109 words
Finding Private Information Through Resumes on Google Search

Reconsider uploading your resume on the open web.