Page 1 of 1
Cache images to speed up website
Posted: Fri Oct 29, 2004 5:43 pm
by scubadiveflorida
I have built a website and it has a bunch of little images on it. When it loads it has to load each image. I thought since it loaded it that the images should be cached when I go back to the page it loads them all again like they are not cached even if I am in the same browser session. Is there a way to make sure all of the images are cached so the next time it will load quick without haveing to download the images? Thanks
Posted: Fri Oct 29, 2004 6:54 pm
by kettle_drum
The browser should cache the images under its own steam. Have you maybe restricted the amount of space the browser can use to cache files?
Posted: Wed Nov 10, 2004 5:15 pm
by rehfeld
this might help
put this in a .htaccess file, in you images folder
be aware that this will have effect on everything in that folder, including the files in other folders inside of it. this will affect all files, not just images
Code: Select all
ExpiresActive On
ExpiresDefault "access plus 2 months"