More in this section

Forums / General Discussions / Client caching - theme assets

Client caching - theme assets

2 posts, 0 answered
  1. Stephen
    Stephen avatar
    14 posts
    12 Jan 2011
    22 Nov 2011
    Link to this post
    Hi all,

    Does anyone know how to change the client caching on theme assets; images and css files in my app_data/sitefinity/websitetemplates/mysite/App_themes/mytheme/ folder?

    Currently it is set to 14 days.

    Changing the caching settings in Settings -> System -> Output Cache Settings -> Client Cache Profiles has no effect. This changes the caching of other image/css files, such as in my images fiolder. but not in a theme.

    Neither does setting a clientcache item under system.webserver/staticcontent in my web.config.

    Cheers, Stephen
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    18 Sep 2017
    24 Nov 2011
    Link to this post
    Hi Stephen,

    Sitefinity caching is only valid for Sitefinity content (pages, images in images module, news, blogs ...).
    To set different caching of files on local folders
      <location path="images">
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:00:15" />

    Best wishes,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered