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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-26-2003, 07:44 PM   #1
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
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.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 07:44 PM   #2
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Norton System Works
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 07:53 PM   #3
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
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.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 08:33 PM   #4
Ben-MensNiche
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" >
__________________

ICQ: 310539245
Email: [email protected]

Last edited by Ben-MensNiche; 12-26-2003 at 08:48 PM..
Ben-MensNiche is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 08:41 PM   #5
404
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)
404 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 08:56 PM   #6
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
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.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2003, 10:15 PM   #7
Ben-MensNiche
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.
__________________

ICQ: 310539245
Email: [email protected]

Last edited by Ben-MensNiche; 12-26-2003 at 10:19 PM..
Ben-MensNiche is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-30-2003, 12:16 AM   #8
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
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.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-30-2003, 02:49 AM   #9
Zappu
Confirmed User
 
Join Date: Jul 2002
Posts: 1,556
Quote:
format c:
LOL

Clear the cache of the users browser? Hey, that is close to criminal I would not be happy if your site will clean up my browser chache. Use the Metag Tags to get your pages reloaded every time.
__________________
Zappu (ICQ: 23141467)
European Erotik Content Archive

CONTENT4FREE = CONTENT4CLICKS X JOIN NOW!
Zappu is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-30-2003, 02:52 AM   #10
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.