No-Cache in IE?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trvmcnevan
    New Member
    • Jun 2007
    • 8

    No-Cache in IE?

    Here's my problem:
    One section of my site allows my client to edit images (move above or below one another etc.). The code is all ok there. Only, my clients often use IE, and the changes they made don't always appear. I'm pretty sure this is a cache issue... everything runs fine in firefox, but IE is giving me some trouble. Right now I have this code at the top of my script:
    [CODE=php]<?
    header ("Pragma: no-cache");
    header ("Cache-Control: no-cache, must-revalidate, max_age=1");
    header ("Expires: Sun, 16 Sept 1990 01:20:30 GMT");
    ?> [/CODE]
    and this line before the end of the head section:
    [CODE=html]<META HTTP-EQUIV="Expires" CONTENT="0" />[/CODE]
    Neither seems to be working in IE. It is a rather annoying issue because my clients tend to send several emails informing me of "tech issues" when there really is no problem besides the cache... any solutions?
    thanks in advance,
    - tm -
    Last edited by pbmods; Jun 20 '07, 02:19 PM. Reason: Changed CODE language. Thanks for using CODE tags!
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, trvmcnevan. Welcome to TSDN!

    There's a fantastic article on understanding and controlling web caches here.

    Not sure if it contains exactly what you are looking for, as it focuses more on general principles rather than, "How do I make it work in this browser?", but maybe there's something new in there that you can try.

    Comment

    • trvmcnevan
      New Member
      • Jun 2007
      • 8

      #3
      Originally posted by pbmods
      Heya, trvmcnevan. Welcome to TSDN!

      There's a fantastic article on understanding and controlling web caches here.

      Not sure if it contains exactly what you are looking for, as it focuses more on general principles rather than, "How do I make it work in this browser?", but maybe there's something new in there that you can try.
      thanks for the response...
      didn't exactly find what I needed there, but decided to get around my cache issues by throwing random numbers in the pic urls.

      Comment

      Working...