<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Force a no-cache header from Alfresco pages in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260514#M213644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've been asked to make sure that pages from our Alfresco server always have the "Pragma: no-cache" header set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At first, we thought Tomcat configuration could achieve this, however we've had no success with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some simple (or not so simple) way to configure Alfresco to send out a specific header for every page served?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?t=11412" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?t=11412&lt;/A&gt;&lt;SPAN&gt; seems to provide some insight into how to accomplish this, however the thread is from 2008 and referers to a class BaseDownloadContentServlet.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe there's a similar class that could add the headers for regular pages?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using Alfresco 3.4d, by the way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 17:46:57 GMT</pubDate>
    <dc:creator>tcunha</dc:creator>
    <dc:date>2011-05-03T17:46:57Z</dc:date>
    <item>
      <title>Force a no-cache header from Alfresco pages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260514#M213644</link>
      <description>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 s</description>
      <pubDate>Tue, 03 May 2011 17:46:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260514#M213644</guid>
      <dc:creator>tcunha</dc:creator>
      <dc:date>2011-05-03T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Force a no-cache header from Alfresco pages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260515#M213645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can achieve that with servlet filter where you can set the response headers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 19:32:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260515#M213645</guid>
      <dc:creator>amitev</dc:creator>
      <dc:date>2011-05-03T19:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Force a no-cache header from Alfresco pages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260516#M213646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can achieve that with servlet filter where you can set the response headers.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, amitev, this did the trick.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For future reference, and if anyone needs to do something like this, here's how to implement the filter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/2876250/tomcat-cache-control" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/2876250/tomcat-cache-control&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We used the code from the 4th reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 10:47:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-a-no-cache-header-from-alfresco-pages/m-p/260516#M213646</guid>
      <dc:creator>tcunha</dc:creator>
      <dc:date>2011-05-04T10:47:18Z</dc:date>
    </item>
  </channel>
</rss>

