- Sam
- Posts: 3
- Starts: 1
- Wiki Edits: 0
I'm looking for a way to cache my images; basically making sure that they are not reloaded every time the page is loaded. I added the following code
<FilesMatch "\.(jpg|jpg|png|gif|ico|swf)$">
Header set Cache-Control "max-age=7200,public"
</FilesMatch>
to the .htaccess in my public directory but that didn't help. Any ideas what is going wrong?
2008-03-01 02:49 PM