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

Forums / Deployment / Caching Problem when Deploying Site

Caching Problem when Deploying Site

5 posts, 1 answered
  1. MacBank
    MacBank avatar
    3 posts
    Registered:
    15 Sep 2009
    02 Mar 2011
    Link to this post
    I am trying to put my site out onto a staging server, but I am having what I think are cache issues.

    When I click on a navigation link at the 3rd level in Sitefinity (the management side), the page content loads, but then all links at the 2nd level and below show the same content.

    For instance, if I click Modules, then Events, then Permissions, I see what I am supposed to see. But subsequent clicks on 2nd level links (Generic Content, News, Lists, etc.) and 3rd level links (Events Items, Categories, Tags, etc.) do not change the page at all.

    The URL changes with those clicks, but the content that is loaded is the same.

    1st level links (Dashboard, Pages, etc.) work fine.

    The result is the same whether I publish the site or just move all files from the development environment over.

    Any ideas what is going on?

    I'll be happy to provide more information if necessary.

    Thanks.
  2. MacBank
    MacBank avatar
    3 posts
    Registered:
    15 Sep 2009
    02 Mar 2011
    Link to this post
    Note: I am just seeing the weird behavior with the Modules and Administration tab groups.
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    03 Mar 2011
    Link to this post
    Hello Dave,

    Have you enabled some settings related to the IIS file or output cache? The behavior you see is causes by some settings related to the IIS. It would be hard to tell you what might case the caching to the backend without access to the server configurations.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
    Answered
  4. MacBank
    MacBank avatar
    3 posts
    Registered:
    15 Sep 2009
    03 Mar 2011
    Link to this post
    Thanks, Ivan.

    I was able to resolve this by modifying the output cache settings within IIS.

    Specifically, I turned output caching on for .aspx pages at the top level of the site, varying by querystring. Then, at the Sitefinity directory level, I turned output caching off completely.

    Can you tell me what the relationship is between output caching on IIS and the "Enable caching" checkbox at the page level within the sitefinity management interface?
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Mar 2011
    Link to this post
    Hi Dave,

    Enable caching" checkbox at the page level turns on the page output cache. We use the ASP.NET caching.
    The first time, the entire request / response lifecycle  is processed, but right before the response is sent to the client - it gets stored in memory (Sitefinity provides database cache storage). When the same URL is requested next time, instead of going through the same process, the response is retrieved from the cache and directly sent to the client. Once the page is cached it starts to work like static HTML.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Register for webinar
5 posts, 1 answered