feat: adds caching of asset files #13

Merged
devydave merged 1 commits from feat-cache-assets into main 2026-02-21 09:27:02 +00:00
Owner

fixes #10
@decentral1se @p4u1 I am open for inputs about how long a file type should be cached, the current settings is copied from the stackoverflow with font files moved to 1 year

fixes #10 @decentral1se @p4u1 I am open for inputs about how long a file type should be cached, the current settings is copied from the stackoverflow with font files moved to 1 year
devydave added 1 commit 2026-02-20 16:49:43 +00:00
devydave requested review from decentral1se 2026-02-20 16:53:13 +00:00
decentral1se reviewed 2026-02-20 16:54:35 +00:00
decentral1se left a comment
Owner

LGTM but have you tested it? I recently was fucking around and finding out about hugo caching via nginx and it completely broke the site... feel free to merge anyway! thanks!

LGTM but have you tested it? I recently was fucking around and finding out about hugo caching via nginx and it completely broke the site... feel free to merge anyway! thanks!
Author
Owner

I think for static sites it should not be a problem. You can also define your assets cache breaking in hugo when using their asset pipeline. I sent you a private message with the domain

I think for static sites it should not be a problem. You can also define your assets cache breaking in hugo when using their asset pipeline. I sent you a private message with the domain
decentral1se approved these changes 2026-02-20 23:03:55 +00:00
devydave merged commit a6879008e8 into main 2026-02-21 09:27:02 +00:00
devydave deleted branch feat-cache-assets 2026-02-21 09:27:02 +00:00
Sign in to join this conversation.
No description provided.