ok ommg I know there are programmers, coders and hosters here so I might actually receive some help .. I'm building a php page and each time a link is visited for some reason all pages are reloaded all the time even though I'm reusing them .. for some reason they are not cached .. is there a solution to this? any piece of code that I might have to add? something need to be configured on the server?...
I read on an earlier post here and someone suggested to put a mod_gzip_on no .. on a .httaccess and it worked for him .. but it wont work for me it gives me a 500 internal server error (I dont think my server even have mod_gzip install ) ..
Please any help or pointers would be really appreaciated indeed ..
THere are many reasons why the page may be reloaded, I would start by setting an expires header in the document. Particularly, this does not bother me so much with html as it does images. Images are usually bigger than the HTML. (mine anyway...) So, I use a php program to setup the image download from the tag. <img src=myimage.php?id=file.jpg> . This works really well. You can control cache from there as well, I think.
Thanks Sonia, so its confrimed my site does not have mod_gzip on it ..
Promethyl I do have expire headers I set them like this: <meta name="expires" content="never"> however on the server info test that Sonia told me to do I did notice under http response headers some setting like this: keepalive: timeout 15 ..
will this be causing the problem ?