: Setting Cache-Control and Expires headers for the end client only I am trying to add explicit caching to 301 redirects. However, I am worried that a permanent redirect for one user might not
I am trying to add explicit caching to 301 redirects. However, I am worried that a permanent redirect for one user might not be permanent for another user. So I'd like to use Cache-Control: no-cache so that upstream servers like my ISP don't cache that request (I believe that's how this works).
This leaves the Expires header which I've set to one month in the future. But the combination of Cache-Control no-cache and Expires headers makes me think I'm doing it wrong. I'd like for an individual user to have a cached request, but avoid ISP/upstream caching. How should I set up my caching headers on redirects?
More posts by @Ravi8258870
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.