How do I improve the page load time for my website?

Last updated: October 24, 2017

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

HubSpot's Page Performance tool will check the load time for the HTML of a page and show a warning or error for long response times. This feature provides marketers with a better idea of a user’s experience when loading website pages. Pages hosted on HubSpot are optimized for load speed, excluding any user-added content.

  • This section of page performance (in On Page SEO on the Optimization tab) only calculates the time it takes to load a page's HTML. The reported time is how long it takes to load the HTML code of a webpage, not JavaScript files, flash files, external plugins, gifs, embedded videos, etc.
  • If you compare the page load time in HubSpot to other free website speed tests, the results are likely to vary. Most external speed tests crawl every aspect of your website, rather than a specific page’s HTML.

If page performance is reporting a longer than expected page load time for one of your pages, here are some possible causes:

  1. Image size: we recommend resizing images offline before uploading them to a webpage, so that larger images do not need to fully load with a page. Use a photo editing tools (MS Paint, Photoshop, Microsoft Picture Manager, etc) to resize an image to your desired dimensions and then re-add the image to your page. HubSpot will automatically resize any photos on your HubSpot-hosted pages.
  2. Broken links: Page performance shows any broken links on a page. Resolve these errors to ensure that they do not interfere with page load time.
  3. Amount of rich content: avoid adding large amounts of rich content to a single page (ex. multiple images, gifs, embedded videos, etc). Not only will each element need to load, which could potentially slow down the page’s load time, but cleaning up the amount of visual content will also improve a user's experience.
  4. Broken code: while HubSpot does not factor the load speed of a custom code file (ex. the time it takes to load a custom JavaScript file), broken inline code within the HTML of a website may increase page load time.

Please note: there are dozens of different factors that may be causing an increased page load time for both HubSpot and non-HubSpot pages. If you are still seeing a long page load time after correcting the above items, you may need to work with your web developer to further optimize your website.

Was this article helpful?