Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

"Clear Cache" function

Posts: 44
Joined: 17 Jun 11

"Clear Cache" function

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.

  • 1
Posts: 6369
Joined: 25 Feb 11
I don't think there is such a plugin available. Visitors/Users can clear their browser's cache, but this will delete the day's (or month's, if they prefer) browsing history and information for all websites visited, not just a single one. In Firefox and Chrome , they can do a "force refresh" or go to their profiles and delete individual cookies there.
  • 1

Building affiliate marketing websites is a breeze:
Like us on Facebook:
Posts: 475
Joined: 28 Apr 09

You could setup the link color so that the visited link did not appear in default purple and therefore links would always look the same. Not sure if this is your reasoning.
  • 1
List not growing fast enough?
Get More Opt Ins:
Posts: 105
Joined: 02 May 11
Yes esolutions, I understand now what the OP was on about, use CSS to control the link styles

a:link {color:#FF0000;} /* unvisited link */
a:visited {color:#00FF00;} /* visited link */
a:hover {color:#FF00FF;} /* mouse over link */
a:active {color:#0000FF;} /* selected link */

Visited link is the colour you want to make the same as an unvisited link
  • 1
Posts: 81
Joined: 26 Aug 11
Yeah, I'd say the best bet would be to wrap your links and store which ones have been clicked by what visitor, then give them the option to clean out their history. Then you can program it to color the links based on their history.
  • 1

This topic was started on Aug 17, 2011 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.