Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 01-16-2008, 06:26 AM   #1 (permalink)
Junior Member
 
Join Date: 09-27-07
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

fireheart007 is liked by many
How to empty cache automatically?

HI guys

need some help here

i have a static website ....meaning using only html
i have to regualrly update it and i am not using any scripting language yet

the problem is the website doesnt update normaly when i update it on the server. i have noticed like the pages we view on our PCs is stored in the cache memory and that is retreived next time we visit my site. so even when i update the contents on my site. when people or me check it out it stil shows the old pages... i am pretty sure its not a server problem.. its just that i need a script or a code or anything that i can include in all my pages that doesnt allow my website to be stored in the cache of peoples PCs. i know there is a way to do that but dont know how.
the new updated page shows up immediately when i press ctrl +F5 as that is the stroke to clear cache. as soon as i do that i immediately see the new updated page that i had just uploaded. or i have to wait as other pages builds up in my cache and the pages are deleted automatically from cache whn space is full. but people have different cache limits 50 mb 800 mb etc.

but these dont have with other websites. the other sites i visit update regularly and every hour i visit its new updated info. i never see old pages on other sites because of my cache. so why is it so with my site only???????
i am sure all of them use cache clearing code that doesnt allow their pages to be stored in cache and is retrieved from server everytime is it URLed. i need to do this to my pages ASAP as i dont want people pressing ctrl +F5 everytime they go to my page to see updated ones. its silly.

please help!!!!!

many thanks in advance!!!!

Fireheart
fireheart007 is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-16-2008, 08:11 PM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
you can use :

<meta http-equiv="cache-control" content="no-cache" />

in the page header of every page of your website.
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-28-2008, 10:26 AM   #3 (permalink)
Junior Member
 
Join Date: 09-27-07
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

fireheart007 is liked by many
THANKS A BUNCH!!!!!!!!!!
it works!!!!!!
fireheart007 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2008, 05:30 AM   #4 (permalink)
Banned
 
Join Date: 02-04-08
Posts: 9
iTrader: 0 / 0%
Latest Blog:
None

webandme is liked by many
it works for me too
webandme is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2008, 02:43 PM   #5 (permalink)
v7n Mentor
 
pinkfluffybunny's Avatar
 
Join Date: 05-18-04
Location: Florida
Posts: 1,220
iTrader: 0 / 0%
Latest Blog:
None

pinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to allpinkfluffybunny is a name known to all
http://support.microsoft.com/kb/222064
__________________
Just because you're paranoid doesn't necessarily mean people aren't out to get you
pinkfluffybunny is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phantom empty space devilzfan300 Web Design Lobby 2 12-22-2007 10:53 PM
Why is it when a DIV is empty content floats over it? noob_0001 Web Design Lobby 4 08-22-2005 03:38 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:33 AM.
© Copyright 2008 V7 Inc