Open predaytor opened 1 week ago
And for some unknown reason, some HTML pages got caching working properly, while others have identical headers (also cache control) but always have Age: 0
. Using the same Varnish configuration for all projects on Node.js - never seen such an error. 🤔
I want to cache static assets using Varnish Cache as a proxy layer (deployed to fly.io), but currently it seems that due to the nature of Fresh (2.0.0-alpha.25), assets to be marked at runtime using
asset/assetSrcSet
fromfresh/runtime
. Varnish doesn't seem to be able to cache such assets. What could be wrong?Also, is there a plan to get rid of the
fresh/runtime
entirely to reduce the js bundle, as we already have a prebuild step for files in outdir at/_fresh
, but no file hashes for now?Dockerfile
:supervisord.conf
:default.vcl
: