Including master pages in a SharePoint solution

Certain types of content must exist in a list or library within the SharePoint site to be usable by SharePoint. Master pages are one type of content that has this requirement. In order to reduce calls to the SQL content database, these can be ghosted in the SharePoint library. Ghosting allows for the file to be on the filesystem of the SharePoint servers and referenced by a placeholder in the library rather than being stored in the content database.

If a ghosted file is edited (in SharePoint Designer, for instance), a copy will be placed in the content database and served up instead of the original file on the filesystem. In addition, the file can be reverted back to being served up by the filesystem. ...

Get SharePoint 2013 WCM Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.