Replies: 1 comment 1 reply
-
|
Good point! Would you like to send a PR to fix this? We configure default headers in this Lines 1 to 4 in 18ea4e7 Which follows Netlify’s “Syntax for the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Netlify uses
public,max-age=0,must-revalidateas the defaultcache-controlheaders. But this defeats the purpose of prefetching: even if you prefetch a page, once you click it has to send another "has anything changed" request. It may 304, but it still adds extra latency. Might be better to use something likepublic, max-age=60.Beta Was this translation helpful? Give feedback.
All reactions