IE displaying old pages.

  • Ifrit
  • Graduate
  • Graduate
  • User avatar
  • Posts: 196
  • Loc: Portugal

Post 3+ Months Ago

Hi.

Today I had a really bad incident with a client which made me look all over the place on how to prevent
this from happening again.

At the start of this year they asked me to change some stuff on their webpage, and so I did. I notified them and got my money, all was well. Today they send me an email saying their webpage is still the same as before, nothing's changed. I told them they should try to clear their browser cache and that solved it.

How do I make it so IE stops doing this to me? It keeps happening, and this time it was really bad, the client was mad and with reason too, but I don't want this to happen again, any ideas?

I don't even know what terms to use to search for, if I type cache on google I get so many results that it's crazy to look through them all.

Any help is greatly appreciated.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Try adding the following to the <head> tags of the page you change. I've seen where that has solved a similar problem. (replace http://www.redirecturl.com with the URL of the page you've updated)

Code: [ Select ]
<meta http-equiv="refresh" content="0; http://www.redirecturl.com/" />
<meta http-equiv="pragma" content="no-cache">

<script type="text/javascript">
window.location.replace('http://www.redirecturl.com/')
</script>
  1. <meta http-equiv="refresh" content="0; http://www.redirecturl.com/" />
  2. <meta http-equiv="pragma" content="no-cache">
  3. <script type="text/javascript">
  4. window.location.replace('http://www.redirecturl.com/')
  5. </script>


If that doesn't work exactly the way you need it to, do this search term:
code to force clear cache
  • Ifrit
  • Graduate
  • Graduate
  • User avatar
  • Posts: 196
  • Loc: Portugal

Post 3+ Months Ago

Thank you very much for helping!

I came upon that code actually, I'm not 100% sure its very google friendly though? I will use it, but are there any "side effects" I should expect?

Again, thanks!
  • claireo
  • Beginner
  • Beginner
  • claireo
  • Posts: 62
  • Loc: Coventry

Post 3+ Months Ago

I have personally never used that code, its not really your fault that IE doesn't update or reload a newer version. I think the best thing to do as well is submit the site to Google and MSN (just search in the search engine toolbar)

It would also pay to get some backward links to get your site cached more often. Alot of our clients do complain if they do not see any changes straight away, but its something really beyond our control - the only thing you can do is to help it.
  • Ifrit
  • Graduate
  • Graduate
  • User avatar
  • Posts: 196
  • Loc: Portugal

Post 3+ Months Ago

ATNO/TW wrote:
Try adding the following to the <head> tags of the page you change. I've seen where that has solved a similar problem. (replace http://www.redirecturl.com with the URL of the page you've updated)

Code: [ Select ]
<meta http-equiv="refresh" content="0; http://www.redirecturl.com/" />
<meta http-equiv="pragma" content="no-cache">

<script type="text/javascript">
window.location.replace('http://www.redirecturl.com/')
</script>
  1. <meta http-equiv="refresh" content="0; http://www.redirecturl.com/" />
  2. <meta http-equiv="pragma" content="no-cache">
  3. <script type="text/javascript">
  4. window.location.replace('http://www.redirecturl.com/')
  5. </script>


If that doesn't work exactly the way you need it to, do this search term:
code to force clear cache


Did not get the desired effect using this code, but thank you nonetheless!

I did a search like you suggested and got this code instead, which seems to do the trick:

Code: [ Select ]
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" /> 
  1. <meta http-equiv="Cache-Control" content="no-cache" />
  2. <meta http-equiv="Pragma" content="no-cache" />
  3. <meta http-equiv="Expires" content="0" /> 

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.