Results 1 to 3 of 3

Thread: When I make changes to a page, sometimes people see the old page... is there a way to

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default When I make changes to a page, sometimes people see the old page... is there a way to

    Hello,

    Sometimes when I make changes to a web page, a number of people can not see the changes (their system's cache?)... so I was wondering if there was some small bit of code (javascript?) that I could put into the HTML so that it would automatically update for everyone when there have been changes made?

    If so, are there any downsides to having this code there?

    Thank You!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    I *think* I remember something like this with a header that can be sent from PHP specifying "do not cache" or something like that.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    I simply say on my updates page something like,
    "Please clear your cache, the site has some new images"
    There's no scripts that I know of that can do this. Hopefully someone else will
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •