Understand how Rocker Loader can improve page load time.
Overview
Rocket Loader prioritises your website's content (text, images, fonts etc) by deferring the loading of all of your JavaScript until after rendering. On pages with JavaScript, this results in a much faster loading experience for your users and improves the following performance metrics:
- Time to First Paint (TTFP)
- Time to First Contentful Paint (TTFCP)
- Time to First Meaningful Paint (TTFMP)
- Document Load
To learn more about the latest version of Rocket Loader visit our blog:
https://blog.cloudflare.com/we-have-lift-off-rocket-loader-ga-is-mobile/
Addition optional configuration:
- If you have a Content Security Policy, you will need to update it to allow Rocket Loader to run: What is Content Security Policy (CSP), and how can I use it with Cloudflare?
- If you have specific scripts you want Rocket Loader to not optimise, you can do this by modifying your HTML script tags: How can I have Rocket Loader ignore specific JavaScripts?