Can someone please help us with an issue where on IE, where fonts are displaying correctly only when we navigate to a page using a web page link. But on refreshing the page you navigate to, the fonts don’t display.
We have tried Root Node Specific cache setting but that doesn’t seem to do anything. We still see the response header saying “no-cache”.
We have also tried setting “Send No-Cache Header for File assets?” in the system configuration screen to “No” but that doesn’t seem to do anything either. Likewise response header still says “no-cache”.
Does anyone know of a sure way to resolve this issue? Or how we can set cache-control?
In particular, you should check whether cacheable headers are on for both the HTTP and HTTPS protocols, especially if your Matrix instance was started a long time ago (in older versions of Matrix the default was HTTP only, and upgrades don’t change the setting).
Finally you should ensure that you’re not logged in while testing, because by default Matrix only sends cacheable headers for logged-in users. (If you need to change this it can also be done from the Send Cacheable Header screen, but this should never be done without careful consideration of the risks. In the wrong circumstances it might result in one user’s personalised content being cached and displayed to another user.)
So it looks like we had an overwriting setting on our haproxy config file that has no-cache on as part of a template to meet OWASP guidelines. But at least now we have a reason to turn that setting off… IE.
Yeah a lot of fonts as part of our brand guidelines.