问题
My site is hosted on IIS.
I am trying the new image format jxr, but when used in a page,it is not loaded There is no 404 error on browser.
Older image format like jpeg loads correctly.
回答1:
For those who forgot about MIME settings, like me, add this to web.config
file:
<staticContent>
<mimeMap fileExtension=".jxr" mimeType="image/webp" />
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
</staticContent>
来源:https://stackoverflow.com/questions/55608709/iis-doesnt-render-jxr-file