feat: adds caching of asset files #13
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat-cache-assets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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!
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