Skip to content

Cache-Control header ignored when set inside a page endpoint #4747

Answered by mattcroat
mattcroat asked this question in Q&A
Discussion options

You must be logged in to vote

From what it seems page endpoints add the Cache-Control header to __data.json which makes sense but I assumed it would also work for the document. Doesn't that mean the user won't get the cached page when they reload?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@robots4life
Comment options

@mattcroat
Comment options

Answer selected by mattcroat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants