Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

javascript - no caching

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
#1Mon Nov 24, 2003 12:31 am   javascript - no caching
Smurfie117331
CZ Newbie
Smurfie117331 has been a member for over 5 year's 5 Year Member
pennsylvania.gif
Occupation: counciling/ linguistic practicioner
Age: 31
Fav. Sports Team: San Fransisco 49ers
Status: Offline
Joined: May 28, 2003
0.01 posts per day
Posts: 13
Points: 672
 Yahoo Messenger  

Hello Everyone,
I am looking for a script that I believe is Java.
I would like one to put in my site that will tell the site not to cache.
Does anybody know of such a script? exclaim.gif
I just simply want to go a step further in preventing people from stealing scripts pics etc that I dont feel they should take. I hope that this makes sense.
Any help is greatly appreciated.
Tyvm,
Smurf




_________________
"Life is not measured by the number of breaths we take, but rather the moments that take our breath away!"

Smurfie117331
Back to top Reply with quote
#2Mon Nov 24, 2003 9:02 am   
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.73 posts per day
Posts: 5504
Points: 481,695
   
The only "stop caching" code I have seen is done with META tags and looks like this:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


Maybe Telli or Kelly knows of a different method.



_________________
My life is spent in one long effort to escape from the commonplace of existence.
Back to top Reply with quote
#3Mon Nov 24, 2003 6:45 pm   
Kelly_Hero
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Kelly_Hero has been a member for over 5 year's 5 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 43
Website: www.myleague.com/bandr
Status: Offline
Joined: Aug 20, 2003
1.95 posts per day
Posts: 3763
Points: 351,412
   
Nope. That is what I would recommend.

Just a side note:

What the code above does is tell the visitor's browser not to cache anything on your page (which you already know). This means that every time someone visits your page, the images, text, etc. will have to load all over again. You wouldn't want to do this on a page that's graphic heavy. Keep your graphics to a minimum and try to keep the filesize of your page as small as possible so your visitors won't be annoyed by having to wait a long time for the page to load every time.

Kelly



Back to top Reply with quote
#4Mon Nov 24, 2003 11:11 pm   
Smurfie117331
CZ Newbie
Smurfie117331 has been a member for over 5 year's 5 Year Member
pennsylvania.gif
Occupation: counciling/ linguistic practicioner
Age: 31
Fav. Sports Team: San Fransisco 49ers
Status: Offline
Joined: May 28, 2003
0.01 posts per day
Posts: 13
Points: 672
 Yahoo Messenger  
icon_wink.gif Tyvm for all your help. I appreciate it all!
Have a great Thanksgiving!!!!!!!!!!!
Smurfie117331




_________________
"Life is not measured by the number of breaths we take, but rather the moments that take our breath away!"

Smurfie117331
Back to top Reply with quote
#5Mon Nov 24, 2003 11:18 pm   
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.73 posts per day
Posts: 5504
Points: 481,695
   
you are most welcome and happy thanksgiving to you as well




_________________
My life is spent in one long effort to escape from the commonplace of existence.
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum