Back to Journal
Engineering7 min read

Why your website feels slow on mobile in Sri Lanka — and how to fix it

Ashen Shandeep

Team representative · Axiora Labs

Why your website feels slow on mobile in Sri Lanka — and how to fix it

A website can look good in a design review and still lose customers on a phone. The page takes a few seconds to show the headline, the menu jumps while someone is tapping it, or the enquiry form does not respond until a third-party script finishes loading. On a fast office connection nobody notices. On a mid-range Android phone on mobile data, the same page feels broken.

Speed is not a technical vanity metric. It affects whether people stay, whether they trust the business and whether they complete an enquiry. For Sri Lankan service businesses, where a large share of traffic arrives on mobile, it is often the cheapest conversion improvement available.

What “slow” actually means

Google’s Core Web Vitals give a useful vocabulary. You do not need to memorise the acronyms, but the three measures explain most of what users feel.

Largest Contentful Paint (LCP) is how long it takes for the main content to appear — usually the hero image or the main headline. A good target is under 2.5 seconds. If the headline appears late, the page feels empty.

Interaction to Next Paint (INP) is how quickly the page responds when someone taps or types. A good target is under 200 milliseconds. If the menu or form hesitates, the site feels unresponsive.

Cumulative Layout Shift (CLS) measures how much the page moves while loading. A good target is under 0.1. If the “Book now” button jumps as an image loads, people tap the wrong thing.

A page can pass a visual review and fail all three. That is why measuring matters.

The usual causes

Most slow business websites share a small set of problems.

Oversized images

A hero image exported at 4000 pixels wide and saved as a PNG can be several megabytes. It may look sharp on a desktop, but a phone downloads the same file and then shrinks it. Modern formats and responsive sizes fix most of this.

Too many scripts

Analytics, chat widgets, pop-ups, heatmaps, retargeting pixels and three social embeds can add up. Each one is a request, and some block the page from rendering. A site with ten marketing tags is often slower than the actual content requires.

Fonts that block the page

Custom fonts are fine, but they need to be self-hosted, subset and preloaded. Loading five weights from a third-party font service can delay the first paint, especially on a slow connection.

Cheap or distant hosting

A server in another region adds latency to every request. If the site is not cached at the edge, users pay for that distance on every page view. A static site with a CDN usually beats a heavy CMS on shared hosting for a marketing site.

Layout shifts

Images without width and height, ads inserted above content, cookie banners that push the page down and late-loading fonts all cause movement. The fix is usually to reserve space before the content arrives.

Measure before you fix

Start with real data, not a hunch.

  1. Run PageSpeed Insights on the live URL, mobile tab. Look at LCP, INP and CLS, and read the diagnostics rather than only the score.
  2. Check the field data if available. Lab tests are synthetic; field data reflects real devices and networks.
  3. Test on a real phone using a mid-range Android device and mobile data, not office Wi-Fi. Notice when the headline appears, when the menu responds and whether anything jumps.
  4. List the requests. Use the browser network panel and sort by size. The largest files and the slowest third-party requests are usually obvious.

A useful rule: fix the largest visible problem first. A 3 MB hero image matters more than a 10 KB icon.

Fix in order

Performance work has a sensible sequence. Doing it out of order wastes time.

1. Images

  • Export at the size the layout actually needs.
  • Use WebP or AVIF with fallbacks.
  • Add srcset and sizes so phones download smaller files.
  • Lazy-load images below the fold, but load the hero image eagerly.
  • Set width and height to reserve space.

This one step often produces the biggest improvement on a content site.

2. JavaScript

  • Remove scripts you no longer use. Old pixels accumulate quietly.
  • Load non-critical scripts after the main content, or defer them.
  • Avoid client-side rendering for a marketing page that could be static.
  • Question every chat widget, pop-up and heatmap. Keep the ones that earn their place.

3. Fonts

  • Self-host the font files.
  • Use one variable font instead of several weights.
  • Preload the font used above the fold.
  • Use font-display: swap so text appears while the font loads.

4. Caching and CDN

  • Set long cache lifetimes for static assets with hashed filenames.
  • Serve the site from a CDN close to your users.
  • Compress HTML, CSS and JavaScript with Brotli or gzip.
  • Cache pages at the edge where the content allows it.

5. Hosting

If the site is a brochure site, static hosting is usually faster and cheaper to run than a heavy CMS. If you need a CMS, choose one that generates static pages or has a fast cache layer.

A practical performance budget

A budget turns “fast” into something a team can defend. For a typical business site, aim for:

  • A hero image under 200 KB after compression.
  • Total page weight under 1 MB for a first visit where possible.
  • No more than a handful of third-party scripts.
  • LCP under 2.5 seconds on a mid-range phone.
  • CLS under 0.1.
  • INP under 200 milliseconds.

The exact numbers matter less than the habit of checking them before launch.

What not to do

  • Do not lazy-load the hero image. It delays the main content and makes LCP worse.
  • Do not add a plugin for every small feature. Each one adds CSS, JavaScript and another update to manage.
  • Do not optimise only the homepage. Service pages and blog posts are often the entry points.
  • Do not trust the office Wi-Fi test. Test on the device and network your customers use.
  • Do not chase a perfect score. A 100 score with a broken form is worse than a 90 with a clear enquiry path.

The Sri Lankan mobile context

Many customers browse on mid-range Android phones, often on mobile data rather than fibre. That changes the priority order:

  • Image weight matters more than on a desktop.
  • Third-party scripts are more expensive.
  • Font loading is more visible.
  • A simple, static page often outperforms a feature-rich CMS page.

It also means the mobile experience is not a secondary view. It is the primary product.

A two-week plan

Week 1 — measure and cut. Run PageSpeed on the top five pages, list the largest requests and remove scripts that are not used. Compress the hero and any large images.

Week 2 — fix the critical path. Add responsive image sizes, preload the font, set cache headers and test on a real phone. Re-measure the same pages and compare.

If the site is built on a platform you cannot control, start with images and third-party tags. Those are usually accessible without a rebuild.

When to rebuild

A rebuild is justified when the current platform cannot meet the basics: no control over images, no caching, a heavy theme with unused scripts, or a CMS that makes every page slow. A rebuild is not justified only because a score is low. Fix the cheap things first.

Our web development work starts with performance as a launch requirement, not an afterthought. The SKD Events case study shows how a design-led site can stay fast on mobile. If you want a performance review of your current site, talk to us and bring the URL.

Need help with this?

Talk to the team that builds these systems.

Share this Insight

#web performance#Core Web Vitals#Sri Lanka#web development#mobile

Related insights

All articles