Optimize site speed
Learning path
Learn more about how Cloudflare can accelerate your website and improve performance.
This learning path contains 7 modules and should take you around 3 hours and 20 minutes.
Step 1 - Concepts
~20 mins
Learn the fundamentals of website performance.
Feel free to skip if you have a technical background.
Feel free to skip if you have a technical background.
Step 2 - Before you begin
~30 mins
Before you can secure your site, make sure you have already added that site to Cloudflare.
Step 3 - Optimization - By default
Cloudflare provides lightning fast DNS resolution, so you likely will see speed improvements by onboarding your domain to Cloudflare.
Step 4 - Optimizations - One click needed
~60 mins
Once your domain is onboarded and your DNS records are proxied through Cloudflare, Cloudflare offers the following one-click optimizations for speeding up your site:
Contains 6 units
- Auto Minify Remove unnecessary characters from HTML, JavaScript, and CSS files.
- Brotli Apply gzip and brotli compression to some types of content.
- Rocket Loader Defer JavaScript loading until after page content (applied through client-side JavaScript).
- HTTP 2/3 Accelerate page load times by using a faster protocol for HTTP.
- Argo Smart Routing (paid add-on) Route requests across the fastest network path available.
- Mirage Lazy load all images in a browser (applied through client-side JavaScript).
Step 5 - Optimization - Minimal setup
~45 mins
Contains 2 units
- URL forwarding through Cloudflare By using Single Redirects or Bulk Redirects for URL forwarding, you can perform redirects on the Cloudflare global network instead of making requests travel all the way to your origin server.
- Customize caching With a few clicks, you can also adjust your cache settings to make resources more cacheable and improve cache hit rates.
Step 6 - Explore dedicated speed products
~45 mins
Cloudflare offers several dedicated products to improve the performance of your website.
Contains 9 units
- Image Optimization Choose between Cloudflare Images, Cloudflare Image Resizing, and Polish, three products tailored to your different image needs.
- Load Balancing Maximize application performance and availability by distributing traffic across your servers.
- Network Interconnect Connect your network infrastructure directly with Cloudflare – rather than using the public Internet – for a more reliable and secure experience.
- Cloudflare Pages Deploy your dynamic front-end applications using Cloudflare Pages. Pages are super fast, always up to date, and deployed directly from your Git provider.
- Stream Cloudflare Stream lets you or your end users upload, store, encode, and deliver live and on-demand video with one API, without configuring or maintaining infrastructure.
- Waiting Room Maintain performance during traffic overloads by routing excess users away from your application and into a queue.
- Web3 Gateways Increase speed and security for Web3 apps using our IPFS and Ethereum gateways.
- Workers Deploy serverless code instantly across the globe to give it exceptional performance, reliability, and scale.
- Zaraz Load third-party tools without slowing down your website.