Optimizing Performance

Sprocket Rocket is developed to have optimal performance out of the box, typically scoring as Pass on Google Page Speed. However, there are certain factors that can impact these scores.

Image Optimization

1. Resizing Images:

Why: Large images can significantly slow down your page load times.

How: Ensure to set the images to the dimensions they will be displayed at on your website. This prevents browsers from having to load unnecessarily large files.

2. Compression:

Why: High-resolution images can be large in file size.

How: Use tools like TinyPNG or JPEGmini to compress images without losing quality. This reduces file size and improves loading speed.

3. Lazy Loading:

Why: Loading all images at once can delay the initial page load.

How: Implement lazy loading to ensure that images load only as they come into view. This can be done inside the HubSpot Page Editor.

GIFs & Video

1. Use Alternatives:

Why: GIFs and large video files can be resource-heavy.

How: Consider using CSS animations or short video loops instead of GIFs. For videos, use formats like MP4 that offer better compression.

2. Embedding:

Why: Third-party video embeds can add extra loading time.

How: Consider hosting videos directly on your site, as it'll provide better speed than third-party hosting.

Marketing Scripts

1. Audit Your Scripts:

Why: Many marketing scripts are heavy and slow down your site.

How: Review all scripts to determine their necessity. Remove any that do not directly contribute to your site's goals.

2. Removal Scripts Completely:

Why: Achieving high scores without removing non-essential scripts is nearly impossible.

How: Focus on eliminating scripts that aren't critical to your operations to significantly boost site speed and performance. Achieving high performance scores without removing these scripts is nearly impossible, and it's often not worth trying if you can't remove them.