Optimize performance
Last updated Apr 24, 2026 Slow page loads increase bounce rates and reduce conversions. Cloudflare accelerates your application with edge caching, Argo Smart Routing to avoid congested network paths, and automatic asset optimization that improves Core Web Vitals scores.
Solutions
Cache
Cache content at Cloudflare's global network of edge locations. Learn more about Cache.
- Edge caching - Serve responses from the nearest Cloudflare location to reduce latency and origin load
Argo Smart Routing
Route traffic through the fastest paths across Cloudflare's network. Learn more about Argo Smart Routing.
- Smart routing - Automatically avoid congested network paths between edge and origin
Speed
Automatic optimizations for HTML, CSS, JavaScript, and fonts. Learn more about Speed.
- Asset optimization - Automatic minification of HTML, CSS, and JavaScript plus Brotli compression
- Core Web Vitals - Improve Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) scores with built-in optimizations
Workers
Build and deploy serverless applications on Cloudflare's global network. Learn more about Workers.
- Edge logic - Run custom performance optimizations at the edge, such as HTML rewriting and dynamic content assembly, without round-trips to your origin
Get started
- Configure Cache Rules
- Enable Argo Smart Routing
- Enable Speed optimizations
- Rewrite HTML at the edge with HTMLRewriter
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/use-cases/web-apps/performance/#page","headline":"Optimize performance","description":"Accelerate your application with caching, smart routing, and edge optimization.","url":"https://developers.cloudflare.com/use-cases/web-apps/performance/","inLanguage":"en","image":"https://developers.cloudflare.com/use-cases/web-apps/performance/og.png?v=c9c36db68ab1efed","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Build interactive applications with WebSockets, real-time collaboration, and live updates. title: Add real-time features image: https://developers.cloudflare.com/use-cases/web-apps/real-time/og.png?v=b6cfac389bf6117a
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/use-cases/llms.txt
Use this file to discover all available pages before exploring further.
Docs