Progressive web app SEO isn’t about the “app” parts. Being a PWA doesn’t earn ranking credit, and the parts that make it one (the manifest, the service worker, offline mode, the install prompt) mostly never reach Google. What gets indexed is the plain web page Googlebot receives on a cold first visit: server HTML, then JavaScript rendered with no cache, no storage and no service worker. A PWA ranks when that first-visit page has real content, a real URL and a real status code. It disappears when the app shell is empty until scripts and cached data fill it in. Below: why Google behaves this way, which rendering setup to choose, the routing and soft 404 traps, and a five-check audit.
What a PWA Changes for SEO, and What It Doesn’t
A progressive web app is an ordinary website with three additions: a web app manifest (name, icons, display mode) so browsers can install it, a service worker that intercepts network requests for caching and offline use, and usually an app shell, where a minimal HTML frame loads first and JavaScript fills in the content. None of these is a search feature. The app shell is a rendering pattern, and it’s the one that causes the trouble.
Search engines still crawl URLs, read HTML, run JavaScript where they can and index what they find. So progressive web app SEO is JavaScript SEO with two added hazards: the service worker makes the site look fine to you while Google sees something different, and app shell hosting can return the same 200 page for every URL. The upside of a PWA is indirect: a fast, installable app people return to.
Googlebot Is a Permanent First-Time Visitor
This is the principle most PWA SEO guides miss. In a 2020 Reddit AMA, Google’s Martin Splitt said Search had no plans to support service workers, because a visitor arriving from a search result has to be treated as a first-time visitor, so “running a service worker is usually not going to do much good.” When asked in 2023, John Mueller said he didn’t think anything had changed and wouldn’t expect it to (both reported by Search Engine Roundtable).
Two documented facts back this up. First, Google’s JavaScript troubleshooting guide says its Web Rendering Service does not keep state between page loads: Local Storage, Session Storage and HTTP cookies are cleared each time. Second, the service worker lifecycle means that, as web.dev explains, the page that registers a service worker isn’t controlled by it on that first load. A crawler that always arrives fresh always gets the network version of your page, never the cached one your returning users see.
That gives you one rule, the first-visit test: anything that only appears because of a service worker cache, IndexedDB, local storage, a cookie or a granted permission is invisible to search. Open the page in a fresh incognito window with the service worker bypassed (DevTools, Application panel, “Bypass for network”) and treat that as Google’s view.
The App Shell Problem: Empty HTML Until Scripts Run
Google’s own JavaScript SEO basics name the issue directly: some sites “use the app shell model where the initial HTML does not contain the actual content,” so Google has to run the JavaScript before it can see anything. Google renders JavaScript with an evergreen Chromium, but as a separate step: pages with a 200 status join a render queue where a page “may stay on this queue for a few seconds, but it can take longer than that.” Heavy bundles and slow API calls add delay; see render budget for how that cost adds up.
Google isn’t the only reader any more. Vercel’s December 2024 analysis of AI crawler traffic found that none of the major AI crawlers it studied rendered JavaScript, including OpenAI’s crawlers, ClaudeBot and PerplexityBot; the exceptions were Gemini, which uses Googlebot’s infrastructure, and Applebot. Google’s docs agree that “not all bots can run JavaScript.” An app shell PWA can be indexed by Google and still be close to invisible in AI answers.
Choose the Rendering Model Before You Tune Anything Else
Most progressive web app SEO problems come from one architectural choice. Google calls dynamic rendering (serving bots a pre-rendered version) “a workaround and not a long-term solution” and recommends server-side rendering, static rendering or hydration instead. From a crawler’s point of view:
| Rendering model | What the first HTML response contains | Search risk | When it fits |
|---|---|---|---|
| Client-side app shell | A frame and script tags, no content | High: depends on Google’s render queue; non-rendering bots see nothing | Logged-in dashboards and tools you don’t want indexed |
| Server-side rendering + hydration | Full content, links and metadata; JavaScript then makes it interactive | Low | Catalogues, listings, content that changes often |
| Static generation / prerendering at build | Full content from pre-built HTML files | Lowest | Blogs, docs, marketing pages, stable product pages |
| Dynamic rendering for bots | Full content for bots, app shell for users | Medium: two versions to keep in sync; Google calls it a workaround | A temporary bridge during a migration only |
A hybrid suits most PWAs: server-render or prerender every public route, keep the app shell for logged-in views, and let the service worker speed up repeat visits. Next.js, Nuxt, SvelteKit and Angular all support this per route; our guide to SPA SEO covers the framework details.
URLs and Routing: One View, One Real URL
An installed PWA often hides the address bar, so teams stop caring about URLs. Google’s documentation says not to use URL fragments to load different content and recommends the History API instead. A route like /#/shoes/trail will generally be treated as the homepage; /shoes/trail/ set with history.pushState is a URL Google can crawl and index.
Links matter just as much. Google says it can only discover links that are <a> elements with an href attribute. A div with a click handler works for users and leaves Googlebot stuck on the page. Check each indexable view for three things:
- It has a unique, path-based URL that loads the same content when opened directly in a fresh tab.
- Internal navigation uses real
<a href>links, which the router can still intercept for client-side transitions. - The URL appears in your XML sitemap; validate it with the free XML Sitemap Validator.
Status Codes and the Catch-All Soft 404 Trap
To make client-side routing work, the host serves the app shell (index.html) for every path. So /products/does-not-exist/ returns HTTP 200, JavaScript shows a “not found” view, and Google sees a near-empty page with a success code. Across deleted products and old campaign URLs, that means soft 404s and index bloat.
Google’s JavaScript SEO basics offer two fixes for single-page apps: redirect client-side to a URL where the server returns a real 404 (such as /not-found), or add a noindex robots meta tag to error views with JavaScript. Better still, have the server or SSR layer return the right status code itself, since it knows whether the product exists before any JavaScript runs.
Watch the reverse case too. Google warns that when it finds noindex in the original HTML it may skip rendering altogether, so JavaScript that removes the tag later may never run. Never ship noindex in the shell and count on the app to take it off for real pages.
Put Titles, Canonicals and Structured Data in the HTML
Each route needs its own title, meta description, canonical tag and structured data. In an app shell these are set client-side after the route loads, leaving the raw HTML with one generic title shared by every URL. Google can pick up JavaScript-set values when it renders the page, but its documentation says it doesn’t recommend setting canonicals with JavaScript. If you must, the JavaScript canonical must match the one in the HTML and be the only rel="canonical" on the page. Non-rendering crawlers only ever see the raw HTML.
The fix is to server-render the head. Then confirm it from the outside: the free Canonical Tag Checker and Meta Tag Analyzer read what a URL actually returns, the fastest way to spot routes sharing one title.
Service Workers and Caching Done Safely
Googlebot never runs your service worker, but its caching strategy still decides what users see. The safe pattern:
- Network-first for HTML navigations. Users get current content and prices; the cache is only an offline fallback. Cache-first HTML can show a returning visitor last month’s page.
- Cache-first for fingerprinted assets. Use file names like
app.3f9a1c.js. This matters for Google as well: its docs say Googlebot caches aggressively and may ignore caching headers, so fingerprinting stops it from rendering new HTML with an outdated script. - Don’t block rendering resources. Googlebot needs your JavaScript, CSS and API endpoints to render the page; the free Robots.txt Tester confirms they aren’t disallowed.
- Plan the exit. If you ever drop the PWA or move domains, the old service worker stays installed in returning visitors’ browsers. Per web.dev, the browser checks for an updated service worker script when someone navigates to an in-scope page, so deploy a replacement worker that unregisters itself and clears its caches, rather than just deleting the file.
Performance, Install Prompts and Permissions
Service worker caching mainly speeds up repeat visits. Clicks from search are often first visits, so make the cold load fast: server-rendered HTML, a small critical bundle, a quick largest contentful paint. Our Core Web Vitals guide covers the metrics Google measures from real Chrome users. Lighthouse 12 removed the PWA category, so a PWA score in an old audit template is obsolete; check installability in Chrome DevTools instead (more in our Google Lighthouse guide).
Install and notification prompts need the same care. Google’s guidance on intrusive interstitials explicitly includes app install prompts and recommends banners that take up a small fraction of the screen, including browser-supported install experiences. Its JavaScript troubleshooting guide also notes that features needing user permission don’t make sense for Googlebot. Content shown only after someone accepts location or notifications will never be indexed.
A Five-Check PWA SEO Audit (Worked Example)
Picture a retail PWA with thousands of product URLs where Search Console shows only a fraction indexed. Here is a progressive web app SEO audit in order, cheapest check first:
- Raw HTML check. View the page source (not the inspector). If the product name, price and description aren’t there, you depend entirely on the render queue, and AI crawlers see nothing.
- URL Inspection. In Search Console, run a live test and open “View tested page” to compare the rendered HTML and screenshot with what users see.
- Random-URL test. Request
/products/zz-test-404/. A 200 means you’ve found the catch-all soft 404 trap. - First-visit test. Fresh incognito window, service worker bypassed, storage cleared. Anything that goes missing depended on state Googlebot never has.
- Full crawl, raw vs rendered. Crawl the site twice, once without and once with JavaScript rendering, and compare word counts, titles, canonicals and links per URL.
Step five is where SEO Rocket helps. Its site audit runs a real crawler with JavaScript rendering, built on Screaming Frog, and reports 404s, soft-404 candidates, redirect chains and broken links. You then ask the chat which templates lose content without rendering. For a deeper method, see our JavaScript SEO audit walkthrough.
After the fixes ship, SEO Rocket’s rank tracking shows whether the server-rendered templates start ranking. It’s a playbook proven across 1,000,000+ ranking pages: make the first response complete, then measure.
FAQ
Do progressive web apps rank better than regular websites?
No. Google doesn’t rank pages higher for being a PWA. Crawlability and indexing work exactly as for any JavaScript site.
Does Googlebot run service workers?
No. Google has said Search treats visitors as first-time visitors and has no plans to support service workers, and its renderer clears storage and cookies between page loads. Design as if the service worker doesn’t exist for crawlers.
Does the web app manifest affect SEO?
Not in any way Google documents. The manifest controls installability, icons and display mode; don’t expect it to change rankings.
Can I keep an app shell architecture?
Yes, for views behind a login. For public pages you want to rank, server-render or prerender the content into the first HTML response and use the shell only for client-side navigation after that.