View Full Version : HOWCOME MY SITE NEVER REFRESHES AUTO!!? :mad:
djkjpro
12-09-2001, 06:05 PM
I dunno why but my site never refreshes everytime I update it or update the galleries on it, lots of people told me it might be because of my server but I'm not exactly sure..
And why would my server have to do anything with this? shouldn't every website refresh automatically on every visit if it was updated!?
I need lots of feedback from anyone that can help pls. :rolleyes:
Beaver
12-09-2001, 08:31 PM
you most probably find your web page is being served from the servers ram cache or your browser is loading the site from the cache on your own drive, try holding down ctrl+shift on your keyboard and click refresh on your browser, if you still don't see the update but you can see the new files in your ftp dir then it will be in the servers cache.
djkjpro
12-09-2001, 09:55 PM
I didn't understand you sorry,
what I meant was when I upload the updated files to my ftp, and when I go into my site again I would have to push F5 again to see the new update..
u know what i mean?
normally I should see the update without having to refresh right?
Beaver
12-09-2001, 11:05 PM
Ok. I think I know what you mean now
put this code <META http-equiv="Pragma" content="no-cache">
between your <HEAD> and </HEAD> tags to make a browser always load the page from the web instead of looking for a cached copy on the users hard drive.
djkjpro
12-09-2001, 11:14 PM
I've tried that Tag before but it killed my bandwidth so im looking for a new way to do it without having to place the tag on my site.
drumsicle
12-10-2001, 01:05 AM
Originally posted by djkjpro:
<STRONG>I've tried that Tag before but it killed my bandwidth so im looking for a new way to do it without having to place the tag on my site.</STRONG>
That tag increases bandwidth???
djkjpro
12-10-2001, 01:22 AM
i guess so.. i dunno why but it did.. its like having the page refresh on every visit, it does not allow the browser to cache the page..
so it makes the browser re-download the page from fresh on every visit. :(
i talked to my host provider they said, they can turn that option off so my site will always be refreshed but that will kill my bandwidth too, my host said that they have it set as default so if i were to update my html it will be updated every 24 hr. period..
here is a copy of the message that my host admin sent me after i questioned him:
ME: back to the ques. that I had questioned a while ago, I'm still trying to find a solution to what I can do to make my site refresh on every visit, I tried placing that refresh tag on my site xteens.shtml and I noticed my bandwidth started going up madly so I decided to take it off, I posted several messages on message boards asking people for a solution .. almost everyone replied to me saying:
"It is a host problem. Something in your account is not setup ok. May be caching is checked ON ......I don't know. Tell the ADMIN and they will correct it ........."
"The problem has to be resolved by your host"
I'm not saying you're wrong to what you've told me but is there Any ideas or comments pls ?
MY HOST ADMIN: hrm... I s'pose I can turn of any caching done by the host but I guarantee that your bandwidth usage will grow significantly...
they way that cache works is very simple really.
It works like this, when the image or html file is sent the server tells the browser for how long this file is good. On prohost this setting is 1 day.
So for 24 hour period unless the file changes the browser should use the cached version it stores on disk.
This is why your traffic increases when you stop telling browser to cache data, beause then every time the whole page images etc... needs to be downloaded.
You can stop caching yourself, like you already did, you traffic went up, same will happen if I stop it server side...
----------------------
Now what! :mad:
drumsicle
12-10-2001, 01:32 AM
Ok, so it sounds like if a visitor comes back after 24 hours, they get the refreshed page. But if say you changed the page today and he comes back again today, he's gonna get the old page. Is that about the size of it? That doesn't seem so bad. Or is it if he comes back tomorrow or the next day, or a week from today, he still gets the old page? Then that's a problem.
It almost sounds like your uploading a new page and then when you go look at it in your browser you get the old one, thus tricking yourself in to thinking it's not refreshing, but in fact it is but you were already there less than 24 hours ago, so it won't refresh yet.
Anyway, I'm sure glad you said that about the bandwidth increase, it makes sense and also answers why I am using way more bandwidth than I should be for the amount of traffic I get.
djkjpro
12-10-2001, 01:49 AM
yup.. so I guess I'll just stick to what it is now, I might place 2 refresh tags between my head tags one for IE and another one for Netscape so my page will refresh on everyvisit, and instead of linking most images to the server I'll link them to my ftp so they'll load from my connection here instead of the server so it saves me bandwidth..
ex. ftp://username :password@myftp.com/image.gif
what do you think of this? it's better right? :)
exitmoney
12-10-2001, 10:27 AM
contact your tech support with your hosting company, that should be your best card
toker
12-10-2001, 11:59 AM
If your gonna link to yourself then you beter hope you can handle the connection requests.
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.