JPEG Images not loading in IE11 browser through apache web server

微笑、不失礼 提交于 2019-12-13 03:59:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!