title: Enabling caching proxy for DotNetNuke backend
body: <p>I am running DotNetNuke 7.2.2 Community Edition which by default returns all HTML-pages with </p>
  
  <pre><code>Cache-Control: private
  </code></pre>
  
  <p>in the response header. To generation of static HTML pages on the DotNetNuke platform typically takes 200-300 ms on our server, but when mixed with a caching proxy on basis of Apache HTTP Daemon v2.2 which caches pages, it only takes 20-30 ms when the page is in the cache of Apache.</p>
  
  <p>The <code>cache-control: private</code> in the header can be ignored using</p>
  
  <pre><code>CacheEnable disk /
  CacheRoot /path/to/disk/cache
  CacheDirLevels 3
  CacheDirLength 5
  CacheIgnoreNoLastMod on
  CacheStorePrivate on
  CacheStoreNoStore on
  CacheIgnoreCacheControl on # Needed!
  CacheIgnoreQueryString off
  CacheDefaultExpire 86400
  CacheMaxFileSize 100000
  CacheMaxExpire 172800
  </code></pre>
  
  <p>This works fine as long as no one access the website when authenticated. When working authenticated, the pages returned when you are authenticated are also cached and can provide a hook for a security breach.</p>
  
  <p>When authenticated, the URL-s are still the same, so you can not filter on the URL to avoid caching taking place.</p>
  
  <p>Is there any other way to convince Apache to not cache pages from DotNetNuke when logged on?</p>