1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

"Clear Cache" function

Discussion in 'HTML & Website Design' started by John84, Jun 19, 2007.

  1. #1
    Hi all,

    Just wondering if it's possible to have a "clear cache" function on a website? Is it possible to clear just that particular website or does the entire history get wiped?

    I ask because I want my visitors to be able to reset what links they have visited on the site. So if there is any other suggestions to achieve this, they would be appreciated as well.

    Thanks.
     
    John84, Jun 19, 2007 IP
  2. Mike H.

    Mike H. Peon

    Messages:
    219
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To force the page to reload from the server, instead of the cache, you can use this JavaScript:


    <input type="button" value="Reload Page" onclick="self.location.reload(true)">
    Code (markup):
     
    Mike H., Jun 19, 2007 IP