Saturday, 8 June 2013

Ghosting and Unghosting in Sharepoint 2010


Ghosted pages:

Pages whose content doesn’t reside in the content database (save as a row with a null value for Content) and they will reside on the actual file system disk. (If the page is not customized, server-side code is supported on the page.)

UnGhosted pages:

Site pages can be customized and if they are customized, their content will be stored in the content database. (These pages can affect the performance of site and , server-side code does not run, and the page does not render. This includes the code-behind for the page itself.)         

To enable/disable ghosting, you can do the action in Central Administration

General Application Settings > SharePoint Designer > uncheck ‘Enable Detaching  Pages from the Site definition’.

So if you uncheck (disable) the above option, sharepoint designer doesn't allow you to customize site pages...thus avoid unghosting. 

Happy Sharepointing. :)

No comments:

Post a Comment