Skip to content

Is disk cache in Coil 2.0 still needs specific header response? #1346

Answered by FishHawk
wiryadev asked this question in Q&A
Discussion options

You must be logged in to vote

According to coil's 2.0.0 change log:

- `Cache-Control` and other cache headers are still supported - except `Vary` headers, as the cache only checks that the URLs match.

Yes, coil still recognize the Cache-Control field. I think it would be better to use addHeader to avoid dropping other http header fields.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wiryadev
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