More in this section

Forums / Developing with Sitefinity / How do you expire cache

How do you expire cache

4 posts, 0 answered
  1. Jane
    Jane avatar
    5 posts
    Registered:
    17 Mar 2008
    05 Sep 2008
    Link to this post
    Do you have any time limit to expire your cache? Or you never expire your cache till like new publishing.

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Sep 2008
    Link to this post
    Hi Jane,

    Thank you for contacting us.

    There is way to limit cache duration memory using ChacheDuration public property. For more information please refer to our Developer Manual.

    The changes in your web.config file are required as follows:

    <cms defaultProvider="Sitefinity" pageExtension=".aspx" siteTemplate="" 
          projectName="august" disabled="false" pageEditorUIMode="Overlay" cacheDuration=""

    Hope this helps.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Jane
    Jane avatar
    5 posts
    Registered:
    17 Mar 2008
    08 Sep 2008
    Link to this post
    So, the default infinity?

    Thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    10 Sep 2008
    Link to this post
    Hello Jane,

    By default the cache duration is set to 20 minutes.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered