add caching to assets #10

Open
opened 2025-12-07 22:56:20 +00:00 by devydave · 1 comment

When running lighthouse I found that assets like images do not have a TTL, maybe the fix is as simple as copying the nginx config from this thread https://stackoverflow.com/questions/61050400/how-to-serve-static-assets-with-an-efficient-cache-policy-on-nginx

When running lighthouse I found that assets like images do not have a TTL, maybe the fix is as simple as copying the nginx config from this thread https://stackoverflow.com/questions/61050400/how-to-serve-static-assets-with-an-efficient-cache-policy-on-nginx
Owner

@devydave feel free to hack the recipe on your own machine in $ABRA_DIR/recipes/... and deploy --chaos to test it. if it works, add it to https://git.coopcloud.tech/coop-cloud/parasol-static-site/src/branch/main/default.conf.tmpl and bump the version in https://git.coopcloud.tech/coop-cloud/parasol-static-site/src/branch/main/abra.sh and submit a PR?

@devydave feel free to hack the recipe on your own machine in `$ABRA_DIR/recipes/...` and `deploy --chaos` to test it. if it works, add it to https://git.coopcloud.tech/coop-cloud/parasol-static-site/src/branch/main/default.conf.tmpl and bump the version in https://git.coopcloud.tech/coop-cloud/parasol-static-site/src/branch/main/abra.sh and submit a PR?
Sign in to join this conversation.
No description provided.