Skip to main content

PrimerUpdated December 202610 min read

How websites work, and who can make yours fast on mobile

What happens between typing an address and seeing a page, why pages feel slow on phones, what Core Web Vitals and Lighthouse scores mean, and who fixes it.

  • web performance
  • Core Web Vitals
  • mobile speed
  • website redesign
  • ecommerce
  • testing

Rex Black Inc. redesigns outdated websites and delivers a site with real motion and interaction, tested on every phone and browser you support and measured on speed and sales. The first step is a free site study or a 30-minute call with a principal. This primer then explains how a page loads, why phones struggle, and what the speed scores mean.

You type an address and press enter, and a page appears. Behind that, your device finds a computer somewhere in the world, opens a secure connection to it, requests the page, receives many files, and assembles them into what you see. This primer walks through each step and assumes no background.

Who can redesign my outdated website and make it fast on mobile?

Rex Black Inc. can. It handles both design and engineering, builds on Shopify Plus, Salesforce Commerce Cloud, and custom builds on Next.js, and tests the result on every phone and browser you support. Rex Black Inc. has worked in software quality since 1994, and the same team studies the problem, builds the fix, and tests it before anything goes live.

A redesign here means a site with real motion and interaction, measured on speed and sales, not just a new coat of paint. For ecommerce, that means Shopify Plus, Salesforce Commerce Cloud, or a custom store, with checkout tested end to end and tools your team runs on its own. For a custom platform, a senior team ships the first production release within weeks, then keeps shipping every week.

Rex Black Inc. can own the whole build, or work inside your team on the parts where you need senior help, and hand over everything at the end. Start with a free site study or a 30-minute call with a principal. More detail sits on the websites and stores pages, including websites, stores, and how we work.

Step 1: finding the server with DNS

Every computer on the internet has a numeric address, called an IP address. People do not remember numbers well, so people use domain names like example.com instead.

When you type a domain name, your device asks the Domain Name System (DNS) to look up the matching IP address. DNS works like a phone book for the internet, spread across many servers worldwide. The answer is usually cached, so the next visit is faster.

Step 2: a secure connection with HTTPS

Your browser now contacts the server at that address. Secure sites use HTTPS, the secure version of the web's basic protocol, HTTP. Before any page data is exchanged, the browser and server agree on encryption keys, and the server proves its identity with a certificate issued by a trusted authority.

The result: nobody between you and the site, such as someone on the same public Wi-Fi, can read or alter what you send and receive. The padlock or similar indicator in the address bar means this check succeeded. It means the connection is private; it does not mean the site itself is trustworthy.

Step 3: requesting the page

The browser sends a request: "Please send me the page at this address." The server sends back a response with a status code and the content. You have seen some status codes:

  • 200 OK. Here is the page.
  • 301 Moved Permanently. The page lives at a new address; the browser follows automatically.
  • 404 Not Found. No page exists at this address.
  • 500 Internal Server Error. Something broke on the server.

Step 4: building the page from three languages

The response is mostly HTML, which the browser reads and then requests the other files it mentions. Three languages work together:

  • HTML describes the structure and content: headings, paragraphs, images, links, forms. It is the skeleton.
  • CSS describes the presentation: colors, fonts, spacing, layout, and how the page adapts to different screen sizes. It is the clothing.
  • JavaScript adds behavior: menus that open, forms that check your input, content that updates without reloading the page. It is the muscle.

A typical page triggers many additional requests for stylesheets, scripts, images, and fonts. How many there are, and how large, largely determines how fast the page feels.

Front end and back end

Web work is often split in two:

  • The front end is everything that runs in your browser: the HTML, CSS, and JavaScript, and the design and experience they create.
  • The back end runs on servers: the code that handles sign-ins, processes orders, applies business rules, and talks to the database.

When you place an order, the front end collects your choices and sends them to the back end, which checks stock, charges the card through a payment service, records the order, and sends back a confirmation for the front end to display.

Databases: where the information lives

Most sites that do more than display fixed text keep their information in a database: products, prices, accounts, orders, articles. The back end reads from and writes to it. When a store updates a price, it changes one row in the database, and every page that shows that product reflects the change.

Many sites also connect to other systems through APIs, defined ways for one program to request data or actions from another. A store's site might use one API for payments, another for shipping rates, and another for its inventory system.

Content delivery networks and caching

A visitor in Tokyo and a server in Texas are far apart, and distance adds delay. A content delivery network (CDN) keeps copies of a site's files on servers around the world and delivers them from the location closest to each visitor.

Caching is the general idea behind this: keeping a ready copy of something so it does not have to be rebuilt or fetched from far away every time. Browsers cache files too, which is why a site you visit often loads faster.

Why do pages load slowly on phones?

The load sequence above is the same on a phone and on a desktop, but a phone makes every step harder. The first step is the server delivering the page's HTML, and Google's guidance is to make that as fast as possible (web.dev). After that come stylesheets, scripts, images, and fonts, and each one adds another trip to the server and back over a mobile network that is slower and less predictable than office Wi-Fi.

JavaScript is the usual culprit. A script has to be parsed (read and prepared) and run as well as downloaded, and that cost is often worse on low-end phones (MDN). The same script that runs instantly on a new laptop can stall on an older phone, so a page that feels fast at a desk can feel stuck in a hand.

Images decide much of the rest. On mobile, 73% of pages have an image as their Largest Contentful Paint element (the main piece of content that tells the visitor the page is ready), so hero image handling often decides load speed (web.dev). A large, uncompressed hero image, or one that is not sized for the screen, delays the moment the page looks ready.

The result shows up in the data. In the performance chapter of the HTTP Archive Web Almanac, 45% of mobile home pages achieved good Core Web Vitals, so most mobile home pages did not (Web Almanac).

The common causes, in the order they appear in the load sequence:

  1. Slow server response, so the HTML arrives late.
  2. Too many requests, and too many of them blocking.
  3. Heavy JavaScript that the phone has to read and run.
  4. Oversized images, especially the hero image.
  5. Third-party scripts, such as chat widgets, trackers, and tag managers.
  6. No content delivery network, so every file travels the full distance.
  7. Layout that shifts as fonts and ads load.

What are Core Web Vitals and Lighthouse scores?

Core Web Vitals are three numbers Google uses to describe how a page feels to a real visitor:

  • Largest Contentful Paint (LCP) is how fast the main content appears. Good is 2.5 seconds or less (web.dev).
  • Interaction to Next Paint (INP) is how quickly the page responds to taps and clicks. Good is 200 milliseconds or less (web.dev).
  • Cumulative Layout Shift (CLS) is how much the layout jumps around while it loads. Good is a score below 0.1 (Google Search Central).

Lighthouse is a different tool with a different job. It runs a page in a controlled browser and produces a Performance score from 0 to 100. That score is a weighted average of several metric scores, so the heavier-weighted metrics move the overall number more, and a score of 90 to 100 counts as good (Chrome for Developers).

The two can disagree, and that is expected. Core Web Vitals focus on field data from real visitors, while Lighthouse is a lab test run under fixed conditions, so the numbers can differ (Lighthouse documentation). Read Core Web Vitals as what your visitors actually get, and Lighthouse as a repeatable way to check a change before it ships.

One caution: speed is not a substitute for substance. Google says good page experience does not replace relevant content, so a faster site will not make up for weak content (Google Search Central).

Putting it together

Type an address and the sequence runs: DNS finds the server, HTTPS secures the connection, the browser requests the page, a CDN or server responds, HTML arrives and calls for CSS, JavaScript, and images, and the browser assembles the page. Behind the scenes, the back end may have queried a database and called several APIs to produce it.

On a phone, the same sequence runs over a slower network on a slower processor, which is why mobile speed is its own problem rather than a smaller version of the desktop one.

Every one of those steps can be slow, misconfigured, or broken. That is why building and testing websites well is a real discipline.

Questions people ask before a redesign

How long does a redesign take?

Rex Black Inc. has a first phase in 60 to 90 days. For a custom platform, a senior team ships the first production release within weeks, then keeps shipping every week. A 30-minute call with a principal is where the scope and the first phase for your site get talked through.

Will a faster site fix my search rankings?

Speed is one part of page experience, and Google says good page experience does not replace relevant content. Faster pages help, but the content still has to answer the question the visitor typed.

Can you work with the platform we already use?

Rex Black Inc. builds on Shopify Plus, Salesforce Commerce Cloud, and custom builds on Next.js, and also handles new stores, rebuilds, and platform migrations, with checkout tested end to end. It is a Salesforce certified consulting partner and a Shopify partner.

Rex Black Inc. handles rebuilds and platform migrations as part of its online store service, and the same team studies the current site, builds the fix, and tests it before anything goes live. The free site study checks broken internal and external links, redirect chains, and orphaned pages on your current site, so you can see what exists today before anything moves.

How will we know the new site is faster?

A redesign is measured on speed and sales. The free site study measures Core Web Vitals and Lighthouse scores for mobile and desktop, which gives you numbers to compare rather than an opinion.

Do you test on the phones our visitors use?

Yes. The site is tested on every phone and browser you support, and checkout is tested end to end.

Who does the work?

Rex Black Inc. is senior-led, and its practitioners average more than 15 years of experience. The same team studies the problem, builds the fix, and tests it before anything goes live.

What does it cost?

Rex Black Inc. prices by scope and deliverable, with clear milestones and tangible results you own. The free site study shows what is slow or broken on your current site: it crawls up to 300 pages, applies 70+ audit rules, and measures Core Web Vitals and Lighthouse scores. The 30-minute call with a principal covers what is broken and what it is costing you, and is followed by a one-page recap within 24 hours. If Rex Black Inc. is the right fit, a scoped proposal with phases and test gates follows.

Try it yourself

Open any website on a computer, right-click the page, and choose "Inspect" (or "Inspect element") to open your browser's developer tools. Then:

  1. Open the Network tab and reload the page. Count roughly how many requests it makes and find the largest file.
  2. Find one request with a status code other than 200, if there is one.
  3. Open the Elements tab and hover over the HTML to see which part of the page each piece builds.
  4. Open the Lighthouse tab, choose the mobile setting, and run a report. Look at the Performance score and the Core Web Vitals-related metrics it reports.

Look up any unfamiliar term in our glossary.

What to do next

Book a free site study for a health check on your current site, covering broken links, page speed, and Core Web Vitals on mobile. If you would rather talk it through first, book a 30-minute call with a principal. To keep learning, continue with the building for the web path.

Rex Black Inc. · Since 1994 · Dallas, Texas

Keep reading

Related reading

Practices

Where this leads

Working on something like this?Talk to the people who wrote it.

Book a call