Can corporate proxy cache whole pages?

We see some odd errors when our customers test our ASP.NET web applications. At the top of each page is a basket counter that tells you how many items are in the shopping basket. She reports that this number changes when she moves from one page to another. We cannot recreate this.

Is it possible that her corporate proxy server caches the entire page and never connects to our server? This is an intermediate site on http, its production site is on https.

Version: The page is also cached via HTTPS. It shows a fully cached version of our shopping cart page. If the user clicks the refresh button, he gets the current version of the page, but this new version becomes the cached version.

+3
source share
2 answers

IE also has a setting that can cause this behavior. Go to Tools> Internet Options. On the "General" tab, click "Settings" in the "Browsing History" section. Verify that Check New Version of Saved Pages is set to Automatic. This is the default value.

, "" , .:)

+2

, , ( ) . , . , - , HTTP- , :

Cache-Control: private, no-store, max-age=0
Expires: <some date in the past>
Pragma: no-cache

HTTP 1.1, - HTTP 1.0. 14.9 HTTP 1.1 gory.

+3

Source: https://habr.com/ru/post/1719289/


All Articles