Cache Management
How we made our page-load optimisations even faster

How we made our page-load optimisations even faster

2/2/2018 · Tim Ruffles

What this post added

Refactored Mirage and Rocket Loader JavaScript to use Rollup and ECMAScript modules, replacing the older AMD loader (CloudflareJS). This involved inlining parts of CFJS, switching from `document.write` for script insertion to direct script tags, and optimizing the loading sequence to benefit from browser preload scanning. The changes resulted in smaller JavaScript file sizes and improved page load performance.

Read the original post ↗