As of recent safari 5 has been released, and this, as it turned out, causes some problems for my site. I have a dynamic website with classic ASP (although that doesn't really matter), and the site has creative use of the history stack. For example, you can be on the page where the products are listed, and then go to the product details and change the product (admin-view). When you click "Save" on the product, information is sent to the server through AJAX, and history.back() is issued. This works fine in all browsers (including safari <= 4), however in the recently released safari 5 it stops working. It seems that when you click on safari 5 it doesn’t actually refresh the page, it only loads it from the cache, which means that the changes made to the details view are not displayed. How can I continue this work in safari 5? This is the current code that I have to disable caching (included at the top of each page):
Dim pStr pStr = "private, no-cache, no-store, must-revalidate" Response.AddHeader "pragma","no-cache" '? Response.AddHeader "cache-control", pStr '? Er ikke sikker på om disse 3 siste er nødvendige. Response.AddHeader "cache-control", "post-check=0, pre-check=0" '? Er ikke sikker på om disse 3 siste er nødvendige. Response.AddHeader "Expires", "Mon, 26 Jul 1997 05:00:00 GMT" '? Response.AddHeader "Last-Modified", Now()
safari cache-control
Alxandr Mar 14 2018-11-11T00: 00Z
source share