![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
Does anyone have a simple Cache clearing script?
Just need something to put on a page that triggers the cache to clear. Anyoen know of one?
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
|
Norton System Works
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
It's not for my personal use. I need to add it to a web page for surfers.
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2003
Location: Victoria, BC, Canada
Posts: 726
|
Are you talking about client side or server side?
Not sure if this is what you're after, but this may help: With client side it depends what client side script you're using...and when you say clear the cache, do you want it just to clear the cache for the current page? (It's got some extraneous spaces in it after the <'s and before the >'s and after the - in http- equiv so that it would post) ASP: < % Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "no-cache" Response.Expires=-1 % > JSP: < % response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache"); response.setDateHeader("Expires", 0); % > PHP: < ? Header('Cache-Control: no-cache'); Header('Pragma: no-cache'); ? > HTML: < meta http- equiv="pragma" content="no-cache" > |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed abUser
Industry Role:
Join Date: Jun 2003
Location: Internet Explorer cannot display the webpage
Posts: 1,154
|
format c:
__________________
(b] cheap hmtl programer for hire (/b) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
Client side is best but I need either a page or a little button they can press that will clear their entire cache.
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Dec 2003
Location: Victoria, BC, Canada
Posts: 726
|
Oh, I get you, basically do the same thing as the "Delete Temporary Internet Files" and selecting the "clear all offline content" option in the Tools/Options window...hmm, I'll take a look and see what I can find.
It will have to be JScript/VBScript then...I think VBScript may support that, but it will take a while for me to dig something up for you. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
Ben, any luck finding that script? I have been searching and searching with no luck!
![]()
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Jul 2002
Posts: 1,556
|
Quote:
![]() Clear the cache of the users browser? Hey, that is close to criminal ![]()
__________________
Zappu (ICQ: 23141467) European Erotik Content Archive ![]() CONTENT4FREE = CONTENT4CLICKS X JOIN NOW! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
I'm pretty sure that can't be done. I would think that would be considered a security issue.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |