More in this section

Forums / General Discussions / Two websites, one database and a time lag

Two websites, one database and a time lag

2 posts, 0 answered
  1. Richard
    Richard avatar
    49 posts
    13 Jul 2010
    03 Jan 2014
    Link to this post
    Good afternoon everyone and Happy New Year.

    We currently have a situation where we have two websites that use the same database. One website (http://admin...)  uses  'standard' SF authentication where as the other (http://public...) uses STS authentication. Both of these use the same database 'myDb'.

    Our marketing team updates the website through the admin site and general visitors see this in the front end through the public website.

    In the large, this works absolutely fine however there is an issue. If you make an amendment in the admin site, you see the change take place instantaneously. However, this does not get pushed through, or is not picked up by the public website straight away. If I do an stop/restart or IISreset on the public website then this forces the changes to pull through.

    Can someone explain to me (a) what's going on or what's happening here and (b) how can I force the public site to pick up any amendments straight away a la the admin site?

    Any help greatly appreciated.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    17 Aug 2017
    08 Jan 2014
    Link to this post
    Hello Richard,

    I suggest that in your case you are not able to see the updated content in the public website as the server is still displaying the cached version of the page. Restarting the server forces the cache invalidation since you are restarting the application as well, and Sitefinity retrieves the updated content from the database.

    You may set up your project to run in a load balanced environment following the instructions in this article from the Sitefinity documentation and use the Sitefinity's cache invalidation mechanism. You may also find additional information on this issue in the following forum post

    Sabrie Nedzhip
    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