We are facing an issue where sometime on one of the Kentico server, page renders with duplicate header and footer. This happens very intermittently but on all the Kentico pages.
This is using Kentico version 9 and uses portal engine approach. In this one we have created a master page template with a placeholder for pagecontent as below:
<%@ Control Language="C#" AutoEventWireup="true" Inherits="CMSWebParts_General_pageplaceholder" CodeFile="~/CMSWebParts/General/pageplaceholder.ascx.cs" %> <asp:Label ID="lblError" runat="server" EnableViewState="false" Visible="false" CssClass="ErrorLabel" /> <cms:CMSPagePlaceholder ID="partPlaceholder" runat="server" ShortID="p" />
Generally, every page render like below:
But what we are seeing in sometime below:
On looking at the generated html it was evident that this placeholder has started adding duplicate content.
What we also observed that this issue get auto- resolved after 60 minutes, which is nothing but our cache setting
This is most likely an issue with a page template and how it is inheriting the parent pages template(s).
If you believe it to be cache related, make your change and save. Then go to the System app and clear the cache manually.
Thanks Brenden. I will try to update and see. But what we also observed that it does auto heal after cache expire of 60 minutes.
Did tried on disabling the output cache and reducing it to 10 minutes. Still it is occurring some time. Any suggestion would be really helpful.
Please, sign in to be able to submit a new answer.