Weird image issues
-
I’ve noticed some weird behavior since I’ve installed v. 3.9. When I replace some image for my WP post with a new one (keeping the same name), it shows the old one. But in some cases it shows the new one (as I want):
1) When I download the image from the “uploads” folder through FTP.
2) When I view the image through proxy server – that is, from a different IP.I thought that it could be some cache issue. I cleared everything in my browser – cache, cookies etc. I have tried different browser. I’ve even flushed the dns. But it still shows the old image. I don’t have any special plugins for caching, however I did set some standard caching options in the .htaccess file long time ago:
<IfModule mod_deflate.c>
<filesmatch “\.(js|css|html|jpg|png|php)$”>
SetOutputFilter DEFLATE
</filesmatch>
</IfModule><IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault “access plus 1 hour”
ExpiresByType text/cache-manifest “access plus 0 seconds”
ExpiresByType text/html “access plus 0 seconds”
ExpiresByType text/xml “access plus 0 seconds”
ExpiresByType application/xml “access plus 0 seconds”
ExpiresByType application/json “access plus 0 seconds”
ExpiresByType application/rss+xml “access plus 1 hour”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresByType application/x-icon “access plus 1 year”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType video/ogg “access plus 1 month”
ExpiresByType audio/ogg “access plus 1 month”
ExpiresByType video/mp4 “access plus 1 month”
ExpiresByType video/webm “access plus 1 month”
ExpiresByType text/x-component “access plus 1 month”
ExpiresByType font/truetype “access plus 2 months”
ExpiresByType font/opentype “access plus 2 months”
ExpiresByType application/x-font-woff “access plus 2 months”
ExpiresByType image/svg+xml “access plus 2 months”
ExpiresByType application/vnd.ms-fontobject “access plus 2 months”
ExpiresByType text/css “access plus 2 months”
ExpiresByType application/javascript “access plus 2 months”
ExpiresByType text/javascript “access plus 2 months”
</IfModule>
Header unset ETag
FileETag NoneIt is important to note that I had no problems with caching in older versions of WP.
So what can be the problem here? Thanks.
- The topic ‘Weird image issues’ is closed to new replies.