AnsweredAssumed Answered

Force a no-cache header from Alfresco pages

Question asked by tcunha on May 3, 2011
Latest reply on May 4, 2011 by tcunha
Hello,

We've been asked to make sure that pages from our Alfresco server always have the "Pragma: no-cache" header set.
At first, we thought Tomcat configuration could achieve this, however we've had no success with that.

Is there some simple (or not so simple) way to configure Alfresco to send out a specific header for every page served?

http://forums.alfresco.com/en/viewtopic.php?t=11412 seems to provide some insight into how to accomplish this, however the thread is from 2008 and referers to a class BaseDownloadContentServlet.java.

Maybe there's a similar class that could add the headers for regular pages?
We're using Alfresco 3.4d, by the way.

Thanks in advance!

Outcomes