honox asset caching
I'm using honox in my project. In production it creates a signed css and js files + adds all static files located in the public folder as expected. The issue is their cache control is set to
public, max-age=0, must-revalidate
Is there anyway to control it? I want to cache the css, js and static files forever4 Replies
forever...??
the css and js are signed and the static files are fonts that are not going to change
by signed i mean hashed - whenerver they change their file name changes
That would be part of your app middleware, have you checked out the standard cache middleware?
I couldn't find it - I will recheck thank you