Repository navigation
|
What's the best way to set headers for static assets? E.g. setting cache-control for fonts,css,images etc served fromt he /public folder? |
Answered by
sergiodxa
Aug 14, 2023
Replies: 1 comment 4 replies
|
Do it on the http server, if you’re using Remix App Server you will need to switch to Express or you can setup a proxy on production to add the headers. |
4 replies
Answer selected by
MichaelDeBoey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do it on the http server, if you’re using Remix App Server you will need to switch to Express or you can setup a proxy on production to add the headers.