3 Replies Latest reply: Feb 2, 2011 2:51 PM by Tobias Hofmann RSS

Configure CSS cache

Tobias Hofmann
Currently Being Moderated

Hi,

 

I'm trying to configure the cache time of the portal theme. Using the HTTP Provider Service I can configure the general cache time of all the portal applications (Cache-Control max-age=xyz property).

But how do I configure the cache timeout of only the portal theme application? I want to set the cache to 1 month, but not for my other applications on the portal.

 

br,

Tobias

  • Re: Configure CSS cache
    Simon Kemp
    Currently Being Moderated

    Hi Tobias,

     

    I am not sure you can control the cache on a portal component level. Generally CSS files are cached in the browser until something changes in them - are you seeing a different behaviour? The browser checks for changes based on how it is configured...

     

    I know you can also set caching properties in the iView configuration... you might be able to control caching there also by adjusting those properties.

     

    Hope that helps,

    Simon

    • Re: Configure CSS cache
      Tobias Hofmann
      Currently Being Moderated

      Hi,

       

      the CSS images are cached for some days only, not for 1 month. That's what I want to change. But when changing the HTTP Provider Server, all the content from portal applications will get cached for 1 month.

       

      You'd need the ability to configure this on a per-application basis.

       

      br,

      Tobias

  • Re: Configure CSS cache
    Tobias Hofmann
    Currently Being Moderated

    Can be done by cache between user and portal