Optimizing SharePoint HTML site pages via SharePoint Designer


By:   |   Updated: 2011-07-06   |   Comments   |   Related: > SharePoint


Problem
Many SharePoint administrators need to optimize their SharePoint portals in order to improve the site performance. We'll see how to optimize HTML for SharePoint portal pages via SharePoint designer.
Solution

SharePoint Designer 2010 introduces a new 'optimize' feature which can be used to improve the site performance.

Here is how to use it:

Click on Start > SharePoint > Microsoft SharePoint Designer 2010

windows update

Click on "Sites" > Open Site : Type your "Site name" > Open:

sites

Click "All files" under "Navigation" section and then click on "SitePages" :

all files

Right click on "Home.aspx" page then select "Check Out"  :

check out

Right Click again on "Home.aspx" page and select "Edit File in Advanced Mode":

edit file

Click on "Spelling" menu items (Under : Home (Ribbon Tab) -> Proofing) then select "Optimize HTML":

default font
spelling

You can check items according to your requirements as below, Click the OK button then save the page:

optimize html

Here is another example of options.

optimize html

Right click on "Home.aspx", then select "Check In",  then click on the "Yes" button to save:

check in
sharepoint designer

Here's the Home page inherited after optimizing it:

welcome to your site
Next Steps





get scripts

next tip button



About the author
MSSQLTips author Hesham Saad Hesham Saad

View all my tips


Article Last Updated: 2011-07-06

Comments For This Article





download














get free sql tips
agree to terms