Skip to main content
Case study

Auditing cometweb.io: from 69 to 87 overnight

I sell website audits, so before selling them I ran my own site through CometWeb Insight, our website audit app. On Monday evening cometweb.io scored 69 out of 100 (grade D), and the next day, after five fixes, it scored 87 out of 100 (grade B). Its Lighthouse performance score went from 49 to 79.

Maciej Zmitrukiewicz, founder of CometWeb Performance, security, accessibility
CometWeb Insight cometweb.io, homepage
87
B Overall score
  • Performance 79
  • SEO 91
  • Accessibility 91
  • Security 83
  • Ecology 93
  • Main-thread blocking (TBT) up to 0.26 s
Fixes from the report
  1. Header button glow starts only after interaction
  2. CSP policy also in a meta tag
  3. Linked logo with an empty alt
  4. aria-controls only once the menu opens
  5. Blog dates in a time element
Result

From 69 to 87 points after five fixes

Overall Insight score
69 87
Lighthouse, mobile
49 79
Total Blocking Time
2.7–5.4 s → 0.10–0.26 s
Module scores before and after the fixes

Performance 49 → 79, SEO 91 → 91, accessibility 90 → 91, security 84 → 83, ecology 90 → 93.

In short

What I changed based on the report

  1. The header button glow starts only after interaction, so it no longer blocks the main thread on load.
  2. The CSP policy also went into a meta tag, because the server overwrote the header.
  3. The linked logo has an empty alt, so screen readers no longer read the name twice.
  4. aria-controls appears only once the menu opens.
  5. Blog dates sit in a time element.
One fix, step by step

The problem, the evidence, why it went first, and the retest.

A real case from the cometweb.io audit: homepage, mobile profile. This is how Insight backs up where to start.

TBT (lab, mobile)
2.7–5.4 s0.10–0.26 s
Lighthouse, mobile
4979
Overall score after five fixes, recalculated with the 1 Oct 2026 model
6987
  1. Problem

    Performance at 49 capped the whole score at 69

    The weighted module average was 79. Performance sat one point under the threshold of 50, so the risk gate capped the overall score at 69.

  2. Evidence

    One animation: 8.2 s of script time

    TBT in PageSpeed Insights was 2.7–5.4 s (3 runs). In Lighthouse with a throttled CPU, the header button glow loop took more time than the rest of the page combined.

  3. Why first

    One source, blocking the whole score

    Most of the blocking time had one cause, and the fix touched one component. The other findings (CSP, logo alt, aria-controls, dates) sat in other modules and did not lift that cap.

  4. Fix

    The animation starts only after interaction

    The glow starts after the first mouse move, scroll or tap, and stops after 12 seconds. Section animations that are off screen stay paused.

  5. Retest

    TBT 0.10–0.26 s, Lighthouse 79

    Median of 4 PSI runs on mobile, 29.09.2026. LCP barely moved (3.9–4.1 s → 3.6–3.9 s), so that is the next job.

Most of the jump came from a single glowing button in the header. Below I'll show you how I found it and what else I fixed based on the report.

Before (28 Sep)After (29 Sep)
Overall score69 (D)87 (B)
Performance (Lighthouse, mobile)4979
SEO9191
Accessibility9091
Security8483
Ecology9093

The public links to these scan reports are no longer available (checked on 14 October 2026). I generated them under the older model, which subtracted points from the Lighthouse score for every optimization suggestion, so the reports saved at the time had scores of 59 and 84. Since 1 October, performance in Insight is simply the Lighthouse score, and the table above scores the same measurements under the new model.

Why a weighted average of 79 became a 69

The weighted module average was 79, but Insight capped the score at 69 because performance sat one point under the threshold of 50. That's the risk gate, a rule that lets one weak module limit the whole score. A site that heavily blocks the main thread in a phone test gets a lower grade even when its SEO is in good shape.

The performance score of 49 came from Total Blocking Time (TBT, the total time long tasks blocked the main thread during load). Google PageSpeed Insights measured 2.7 to 5.4 s, and one run hit 8.3 s. That is a lab result on an emulated phone, not a measurement of every tap's delay. A tap that lands on a long task has to wait for it to finish.

One animation was eating 8.2 s of CPU

The culprit was the glow around a button in the header (edgeGlow). It ran on a requestAnimationFrame loop that started with the page and kept spinning the whole time, even while the mouse sat still. You'd never see it on a decent laptop. But Lighthouse measures with a throttled CPU, the way your visitors' phones actually run, and there that one loop took 8.2 s of script time, more than the rest of the page combined.

The fix was small. The animation now starts on the first mouse move, scroll, or tap and switches itself off after 12 seconds. On top of that, animations in sections outside the viewport stay paused and start once you scroll to them.

Performance (PSI, mobile)BeforeAfter
Lighthouse score49 (3 runs)79 (median of 4 runs, 75–80)
TBT2.7–5.4 s0.10–0.26 s
LCP3.9–4.1 s3.6–3.9 s

LCP (the moment the largest element on the page shows up) barely moved, so the next job is critical CSS and a lighter JavaScript bundle on the homepage.

The host was stripping the security policy

Insight flagged that the Content-Security-Policy (CSP, the list of sources a browser may load scripts from) only protected against mixed content. I checked the headers with curl, and it turned out the app sends a full policy, but LiteSpeed on the host swaps it for a single upgrade-insecure-requests directive. Everything looked fine locally, so no test in the repository would ever have caught it.

The server overwrites the header, so I repeated the policy in a <meta http-equiv> tag in the HTML. Before deploying, I ran the production build through 22 pages with cookies accepted, and Google Tag Manager, GA4, and Clarity all worked with zero CSP violations.

The security score didn't go up because of it (84 → 83), and that's fair. Insight sees the policy in the <meta> tag and rightly grades it as weak, because styles can be injected inline and images and frames can come from any https: domain. Tightening those directives is the next step. DMARC in monitor-only mode and the missing CAA record haven't changed either, since those live in DNS.

Three smaller fixes from the report

  • The header logo had alt="CometWeb" inside a link that also says "CometWeb", so screen readers read the name twice. The logo now has an empty alt.
  • The menu buttons had aria-controls pointing at a menu that wasn't in the DOM yet. The attribute now appears only once the menu opens.
  • Blog dates were plain text like "10/04/2026", so neither a machine nor a person could tell April from October. They now use <time datetime>.

The crawl found zero broken links in both versions. Earlier, Insight had pointed at two dead sources in the WooRank comparison, because the help.woorank.com certificate expired in 2019, so I swapped them for a working article.

How I measured this

Both scores come from a full Insight scan (Comprehensive level, 29 modules) of the homepage, scored with our methodology, and performance comes from Google PageSpeed Insights on the mobile profile. I'm quoting the median because the PSI score can jump a few points between runs. One caveat: the fixes went live 20 minutes before the scan that was meant to be the "before". So "before" is the last full scan ahead of the deploy, on the evening of 28 September, and two Standard scans on the newer Insight version gave the same Lighthouse score, 49. A control scan on 1 October, after the model change, scored 88 with Lighthouse 77. A crawl of the same 25 URLs gave almost identical results before and after (SEO 82.8, accessibility 89.8 → 90.2, ecology 98.7 → 98.8). That's expected, since the fixes mostly touched the homepage and the header.

What this means for your site

I'd start with performance on mobile, because one weak module can cap the whole score, and the cause is often a small thing you'll never notice on a fast computer. Then I'd check the security headers on production with curl, because your host or CDN can change them on the way out.

If you want the same report for your site, create a CometWeb Insight account. The first audit takes a few minutes, and after your fixes you can compare two scans in one report, just like here.

Check your site with the same report.

Your first audit runs on the Free plan, no card.