2013-04-05, 09:25:57
(2013-04-05, 09:16:24)shawn_a Wrote: Well typically you use expire or other headers depending on the files you could control it via upload sub folders or wild card file names.
Could it work with a .htaccess file in the directory where these particular images are uploaded? Because they'll always be in the same place.
I found this example:
Code:
<FilesMatch "\.(jpg|jpeg|png|gif)$">
Header set Expires "Thu, 15 Apr 3015 20:00:00 GMT"
</FilesMatch>
I also found:
Code:
<IfModule mod_expires.c>
# disable caching forthis directory mod_expires for this directory
ExpiresActive off
</IfModule>
Which do you think might suit better? I'm way out of my comfort level with this stuff!