+1-888-365-2779
Try Now
More in this section

Flush cache

8 posts, 0 answered
  1. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    11 Jan 2012
    Link to this post
    Hi,

    Is there a way to manually flush caches from the back office, as an admin?
    For pages, menu items, news and so on.

    Thanks.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    08 Dec 2016
    13 Jan 2012
    Link to this post

    Hi Thomas,

    Actually we enable output cache for admin users by default, however Sitefinity does not have control over the data cache, however  you can always flush it by restarting the application, or simply disable it . You can configure this from Administration->Settings->Advanced. For your convenience I'm attaching a screenshot of the exact location of the configurations setting.



    Kind regards,
    Boyan Barnev
    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
  3. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    08 Dec 2016
    15 Jan 2012
    Link to this post
    Hello,

    Just a quick follow-up, I'm sorry if I had misled you, what I actually meant was "... we disable output cache for admin users by default "

    Regards,
    Boyan Barnev
    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
  4. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    16 Jan 2012
    Link to this post
    Hi Boyan,

    Okay, thanks. Note that we don't have the needed rights to restart the production servers, only the development / test ones. Besides, we may need to do this rather often, so restarting the whole app for this is extreme.

    Also, does disabling cache then reenabling it actually flush the cache? Or does it reuse the old cache when you reenable it?

    Thanks.
  5. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    08 Dec 2016
    18 Jan 2012
    Link to this post
    Hi Thomas,

    I'm afraid you might need an application restart for the data cache disabling to take effect, which would eventually invalidate the proposed scenario. However, can you please let us know why do you want to flush it in first place, and if there are any particular issues/observations that make you want to do this?

    Kind regards,
    Boyan Barnev
    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
  6. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    18 Jan 2012
    Link to this post
    Hi Boyan,

    One of the scenarios is related to load balancing issues: Caching issues across multiple servers
    I reckon we should actually fix load balancing in the first place, but being able to flush caches could have helped mitigate the issue until then.

    Another use case for flushing caches would be to fix random caching issues in general (e.g.: template updated, but derived templates are not updated, or at least not all of them). I just wanted to make sure there was no way to flush caches from the back office, as that could be useful in such cases.
  7. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    08 Dec 2016
    18 Jan 2012
    Link to this post
    Hi Thomas,

    Actually we do disable level two (data) cache when running on load balancing and Sitefinity needs the load balancing nodes configured so it can message them to invalidate the cache so content changes can be reflected on all servers.

    Kind regards,
    Boyan Barnev
    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
  8. Jared
    Jared avatar
    122 posts
    Registered:
    04 Apr 2013
    06 Jan in reply to Boyan Barnev
    Link to this post

    Can I get an explanation of the following response from a previous reply?  

    "Actually we do disable level two (data) cache when running on load balancing and Sitefinity needs the load balancing nodes configured so it can message them to invalidate the cache so content changes can be reflected on all servers."

    Is it recommended that L2 caching be turned off when running on load balancing?  We have numerous issues caching problems.  We are running our servers in Azure, so unsure on how this changes things?

8 posts, 0 answered