-
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? |
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Aug 14, 2023
Replies: 1 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. |
Beta Was this translation helpful? Give feedback.
0 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.