CDN Caching Problems - The "Vary: User-Agent" Header | ./orcaman
If you accidentally send the header and you are using a CDN, you can expect to experience the following nasty problems:
1. Your server load will increase dramatically, since requests will hit the origin instead of getting the content from the CDN.
2. Your users will experience slower response times because your origin will have to recomptue the file's content on every request, and the Geo-based content delivery will not be activated (the request will have to reach your origin server anyway).
3. Your CDN bill might explode (the CDN's usually charge by bandwidth, and they will be serving a lot more content if they are not able to cache it).
Read full article from CDN Caching Problems - The "Vary: User-Agent" Header | ./orcaman
No comments:
Post a Comment