I've got a problem, I keep getting the old versions of files. For instance I've put a new version of an image online but when I view it in my browser I get the old image. When I use FTP to get the image is the correct new image. I've tried adding some things to my httpd.conf (directadmin > Custom HTTPD Configurations) which I all found online in the hopes I could disable my cache
All without luck and now I'm kind of stuck. I've of course disabled my browser cache so it's not a browser issue and restarted httpd.
Could somebody help me fix this issue?
Thanks in advance!
Code:
EnableSendfile off
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
<IfModule mod_expires.c>
expiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType text/javascript "access plus 1 seconds"
ExpiresByType application/x-javascript "access plus 1 seconds"
</IfModule>
Could somebody help me fix this issue?
Thanks in advance!