Setting: "Send Not Modified Status-Code"

So our Matrix install behind squid still insists on showing outdated content after the content has been updated in Matrix.


I'm looking at each of the (apparently) related settings available in Matrix in an attempt to find the one that will make squid always show the most recent content.



What does the "Send Not Modified Status-Code" setting do?



From the manual:

--------------------------------------

"Send Not Modified Status-Code*: set this field to Yes to send a “304 Not Modified” status code if requested to do so by a proxy. The 304 code will only be sent for publicly cached pages and for users who are not logged in."

--------------------------------------



This sounds to me like Matrix will always send a 304 for all content regardless of whether it has changed or not. Presumably this will make squid think that it will never needs to update any URLs.

It doesn't just always send Not Modified headers. It only sends them if the proxy sends an Is Modified Since header and the content has not been modified since that date.


Matrix determines the last modified time of a page each time it is cached internally based on the last updated times of the assets used to build the page, so it should be accurate.