defer
does work, but I need to switch the order (probably related to “Can't get simple alias to work - #9 by matt”, and may have been fixed).
route {
header /libs/* {
Cache-Control "public, max-age=31536000, immutable"
defer
}
header {
-server
Cache-Control "max-age=604800, public"
defer
}
}
I also tried comment out the -server
and it still works. Removing route
also works and regardless of header
order.