Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   stop browser caching (https://www.warriorforum.com/programming/380911-stop-browser-caching.html)

moreno 14th May 2011 01:57 PM

stop browser caching
 
hi moreno here, i have a page on my site that google always shows only the cache version ( old 17 days) now i try everything but google always show only the cache . if i enter my site from another page then when i navigate to this page everything ok. the new version it's online . My problem is: i want to insert one offer into this very page expiring in 72 hours but if i send visitors directly to the page they will see only the cache version without my offer! I try to insert this code into the Head
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> but it only work on preview when i publish the site , the code somehow vanish and google only show the cache version. even if you click the cache ( in google listing ) and then you click --current page -- it still show only the old version ! could anybody tell me how can i stop google to show only the cache version ? i use xsite pro and my site is build a business website now .com and the page i'm referring is about -- blue voda review ---- .

KirkMcD 14th May 2011 03:00 PM

Re: stop browser caching
 
Google doesn't serve the web page. So it isn't delivering the cached version. Either its stuck in YOUR browser's cache or you are using some type of caching proxy server.

danielharris 14th May 2011 07:42 PM

Re: stop browser caching
 
Why you're trying to access the page through google? Did you try to enter it's url in browser to visit it directly? You can also try to press Ctrl+F5 this refresh clears browser cache.

campers 14th May 2011 09:44 PM

Re: stop browser caching
 
I would also add the meta tag <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

One is for http 1.0 and the other is for http 1.1, can't remember which one is for which of the top of my head.


All times are GMT -6. The time now is 01:09 PM.