问题
I'm using apacher web server to stre the static content (like images, css etc.) with my website. Below is my apache configurations set as below :
<IfModule mod_expires.c>
ExpiresActive on
<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf|html)$">
ExpiresActive On
ExpiresDefault "access plus 30 minutes"
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch ".+\.(ico|jpg|jpeg|png|gif|js|css|swf|html|woff)$">
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options nosniff
</FilesMatch>
</IfModule>
Please note that the same apache configuration is working in test region, but not working in prod region for same jpeg images.
The cache works well for woff,css, js,png files, but doesnt work for my few jpeg images which are loaded from specific folder for one of the website screen. Any idea why?
Thanks in advance.
来源:https://stackoverflow.com/questions/57844016/jpeg-images-not-loading-in-ie11-browser-through-apache-web-server