FeaturesCommunityGuidesUse casesCompareToolsBlogPricing
Orlume logo

How to make a website faster

How to make a website faster: compress images, never lazy-load the hero, cut unused scripts, load fewer fonts and use a CDN. Measured against Core Web Vitals.

The short answer

To make a website faster, fix the biggest problems first: compress and resize images and serve modern formats, never lazy-load the main hero image, remove or defer unused JavaScript and third-party scripts, load fewer font files, and serve the site from a CDN with caching. Measure before and after with PageSpeed Insights against Google's Core Web Vitals.

  • Images are usually the heaviest part of a page; fix them first.
  • Good Core Web Vitals: LCP within 2.5s, INP within 200ms, CLS of 0.1 or less.
  • Third-party scripts (chat, analytics, ads) are frequent hidden culprits.
  • Measure on mobile; that is where slowness hurts most.

01What "fast" means: Core Web Vitals

Google measures page experience with three Core Web Vitals, described on web.dev: Largest Contentful Paint (main content loads within 2.5 seconds), Interaction to Next Paint (responds to input within 200 milliseconds) and Cumulative Layout Shift (layout stays stable, 0.1 or less), each measured at the 75th percentile of real visits. They are a good target because they track what visitors actually feel.

Core Web Vitals thresholds
MetricMeasuresGood
LCPHow fast the main content appears2.5 seconds or less
INPHow quickly the page responds to input200 milliseconds or less
CLSHow much the layout jumps around0.1 or less

02Fix 1: Images

Images dominate page weight on most sites; the HTTP Archive's 2025 Web Almanac reports the median mobile home page loads about 911 KB of images. Most of that can be saved without visible loss.

  1. 1Resize to display sizeDo not ship a 4000-pixel photo into a 800-pixel slot.
  2. 2Use modern formatsWebP or AVIF are much smaller than JPEG or PNG for the same quality.
  3. 3Lazy-load below the fold onlyGoogle's LCP guide says never to lazy-load the LCP image.
  4. 4Prioritize the heroMark the main image with fetchpriority="high" so it loads first.
  5. 5Set width and heightReserved space prevents layout jumps (CLS).

03Fix 2: JavaScript and third-party scripts

JavaScript blocks rendering and slows interaction. Remove scripts you no longer use, defer what is not needed for the first view, and audit third-party tags: chat widgets, analytics, heatmaps and ad scripts each add requests and processing. Load them after the page is usable, or not at all. Google's LCP optimization guide also recommends avoiding synchronous scripts in the page head.

04Fix 3: Fonts, CSS and hosting

  • Load only the font weights you use, and prefer variable fonts; best fonts for websites covers this.
  • Let text show immediately in a fallback font while web fonts load.
  • Inline the small CSS needed for the first screen; load the rest normally.
  • Serve from a CDN so pages come from a location near each visitor.
  • Cache static files for a long time; change file names when they change.
  • Reduce server response time; a slow first byte delays everything else.

05Fix 4: Layout shifts and responsiveness

Speed is not only loading. Pages that jump as images, ads or banners appear frustrate visitors and fail the layout-shift metric; reserve space for every image and embed, and avoid inserting banners above content after the page loads. Pages that react slowly to taps usually run too much JavaScript at once; breaking up long tasks and removing unneeded scripts improves Interaction to Next Paint. Both problems are easiest to spot by using your own site on a mid-range phone for a few minutes.

06How to measure and prioritize

Run PageSpeed Insights on your most important pages. It shows real-user data when available and lab diagnostics ranked by impact. Fix the top item, measure again and repeat; a few fixes usually deliver most of the gain. Check on a mid-range phone as well as a laptop.

Speed affects both visitors and search; does page speed affect SEO? explains how much. If your site is built on a heavy theme or builder, sometimes the biggest win is a lighter foundation; static vs dynamic website explains why pre-built pages are fastest.

What people who tried it say

Hacker News discussions of web performance repeatedly blame third-party scripts, oversized images and unnecessary JavaScript frameworks, and praise simple static pages, while some commenters argue speed improvements show diminishing SEO returns past a certain point.

Looking for more first-hand opinions? Search Reddit for “how to make a website faster”. We link the live threads rather than summarizing them, so you read them in full.

Our take

most slow small-business sites are slow because of three or four images and three or four scripts. Fix those before considering a rebuild, a new host or a framework change.

Where this falls short

Lab scores vary between runs and devices; trust trends and real-user data over a single number. Some tools, such as PageSpeed's lab test, simulate slow devices and networks and will look worse than your own fast connection.

Where Orlume fits

Orlume builds sites in Next.js with server-rendered pages and optimized images by default, so you start from a fast foundation rather than fixing a slow one.

Free to start · No card required · Live in one click

Sources

  1. 1.Web Vitals · web.dev (Google)
  2. 2.Optimize Largest Contentful Paint · web.dev (Google)
  3. 3.Page weight, Web Almanac 2025 · HTTP Archive
  4. 4.PageSpeed Insights · Google

Orlume logoResearched and written by the Orlume team · Updated October 2026

More on building a website

All 12 building a website questions →
Questions

People also ask.

More on how to make a website faster, answered briefly.

What slows down a website the most?

Usually oversized images, too much JavaScript and third-party scripts, and slow server response.

How fast should a website load?

Google's target is the main content within 2.5 seconds (LCP) for at least 75% of visits.

Does website speed affect sales?

Slow pages lose visitors before they see content; faster pages generally keep more of them engaged.

How do I check my website speed?

Use Google's PageSpeed Insights, which reports Core Web Vitals and ranked suggestions.

Orlume logoStill stuck? Email us
Orlume logo

Build something that doesn't look AI-made.

Describe the site you want. Watch it get designed, not just generated. Then publish it to its own orlume.site address.

  • Free to start
  • No card required
  • Publish to a live URL
  • You own the code