...">

How to force image caching with meta-update?

I have a statistics page that has an update meta tag.

<meta http-equiv="refresh" content="10" />

How do I get it to reload images on the page? I tried setting up Cache control, but the browser (IE7) still updates 50+ images per page.

Response.Cache.AppendCacheExtension("post-check=900,pre-check=3600");
+3
source share
3 answers

I solved this problem using javascript to manually refresh the page, not the meta tag. This stopped the browser, updating all images every time it rebooted, but still made the browser refresh the ASPX page.

<script>
setTimeout('document.location=document.location',10000)
</script>
+3
source

, IE , ? ? - ?

0

, SSL src css? , , IE, SSL css src (, ..) html-... src, css.). , css, ssl IE . , , , javascript ( , ), . , .

0

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


All Articles