More in this section

Forums / Developing with Sitefinity / Changed URL/Name not instant..

Changed URL/Name not instant..

4 posts, 0 answered
  1. Jodie
    Jodie avatar
    27 posts
    Registered:
    28 May 2009
    07 Feb 2010
    Link to this post
    Hi-ho,

    A question regarding how long SF / asp.net hangs onto the name of a page after it's changed in the properties tab of the SF admin area..

    The problem I have is this:  Trying to fix up some badly named pages on our site, and wanting to check links etc..  I rename the page, and the old URL still works, and links do no update in pages linking in until I restart IIS.

    Is there a timeout period inside SF for the caching of these pages/names, or is this something inside ASP.NET?

    I'm not keen on restarting IIS just to change the URL for a page.

    FYI, We're on SF 3.7SP2.

    Cheers, Chris H.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    08 Feb 2010
    Link to this post
    Hi Chris,

    Thank you for using our services.

    The behavior you are describing is not typical even if you have enabled caching for Sitefinity pages. Basically when you make some changes on your pages the cache dependency for this particular page gets cleared from the cache once you publish the page. So you would not need to restart the website or recycle the application pool. 

    One possibility for this behavior on your side would be if you have enabled Dynamic Caching and Compression on your IIS.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. Jodie
    Jodie avatar
    27 posts
    Registered:
    28 May 2009
    08 Feb 2010
    Link to this post
    OK..

    I have enabled caching in IIS, I might turn it off and see if that changes things.

    I've not enabled compression yet, but that's on the list of things to address..

    Thanks.
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    08 Feb 2010
    Link to this post
    Hi Chris,

    The compression would not be causing this.

    Could you try to use Sitefinity's built in caching mechanism instead of IIS caching. The default caching provider wraps up the ASP.NET caching one however it makes it work from the application, rather than setting this in IIS. Would save you some headaches wondering why changes in pages and content are not visible. You can do it from each page's properties tab (click More Options). You can also turn on caching for all pages from your website's web config, to do so you can add a <defaultproperties> configuration element for telerik/cms/pages, sample bellow:
    <cms defaultProvider="Sitefinity" pageExtension=".aspx" disabled="false"
       pageEditorUIMode="Overlay">
          <pages>
            <defaultProperties requireCaching="true" navigable="true" disableViewState="false" requireSSL="false" />
          </pages>


    All the best,
    Radoslav Georgiev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Register for webinar
4 posts, 0 answered