: Using Pragma header on HTTP 1.1 would like know your opinion about using Pragma header when script is called in HTTP version 1.1 I don't know is good to return both Pragma and Cache-Control
would like know your opinion about using
Pragma header
when script is called in HTTP version 1.1
I don't know is good to return
both Pragma and Cache-Control
or rather return only Cache-Control
and at HTTP 1.0 return only Pragma ???
More posts by @Carla537
2 Comments
Sorted by latest first Latest Oldest Best
Using both is fine. That way if you encounter a client that is using http 1.0 they'll be sure to honor your cache control request. Http 1.1 clients will simply ignore the redundant header so it won't cause any problems. I use both on lots of sites with no ill effects.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.