Learn more about SQL Server tools

mssqltips logo

Tutorials          DBA          Dev          BI          Career          Categories          Webcasts          Scripts          Today's Tip          Join

Tutorials      DBA      Dev      BI      Categories      Webcasts

DBA    Dev    BI    Categories


Optimizing SharePoint HTML site pages via SharePoint Designer

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

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.

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:


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

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

Last Updated: 2011-07-06

get scripts

next tip button

About the author

Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name    *Email    Email me updates 

Signup for our newsletter
 I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.


Learn more about SQL Server tools