Salesforce Architecture Insights
Blog Contact
ARCHITECT'S GUIDE • UPDATED AUGUST 2026

Salesforce LWR Experience Cloud: A Candid Architect's Guide

A candid, implementation-tested guide to Lightning Web Runtime. Learn what the marketing doesn't tell you about limitations, migration challenges, and when LWR is the right choice.

Article Updated: August 2026

This article has been refreshed with Spring '26 and Summer '26 release information, the newest component availability including the now-GA Record Detail component, component variations guidance, and new Aura-to-LWC migration tooling. Originally published December 2025.

What's New in This Update (August 2026)
6
Critical Limitations
500
Max Routes per Site
0
Generic Record Pages
<1s
Sub-second Page Loads

Table of Contents

1

What is Lightning Web Runtime (LWR)?

Lightning Web Runtime is Salesforce's next-generation framework for building Experience Cloud sites. Unlike Aura-based sites that render components dynamically at runtime, LWR takes a fundamentally different approach by pre-compiling and caching static content during the publish process.

Core Promises of LWR

Sub-second Page Loads

Through static content delivery and CDN caching, LWR delivers significantly faster page loads than Aura sites.

Standards-Based Development

Built on modern web technologies (HTML, JavaScript, CSS) without proprietary abstractions.

Enhanced Security

Uses Lightning Web Security (LWS) instead of Lightning Locker for better component isolation.

Strategic Direction

LWR is Salesforce's strategic direction for Experience Cloud. That said, as of 2026 releases still ship features for both runtimes - Spring '26 and Summer '26 delivered GEO content snapshots, dynamic redirects, and AI Self-Service capabilities for Aura and LWR alike.

2026 Update: License-Free Components

Since Spring '26, 16 standard components are available on all LWR sites without a Community license, lowering the entry barrier for public-facing LWR sites.

2

Understanding LWR Architecture

How LWR Achieves Performance

The fundamental architectural difference between Aura and LWR lies in when content is generated:

Aspect Aura Sites LWR Sites
Rendering Dynamic at runtime Pre-compiled at publish time
Component Changes Immediate (no republish needed) Requires republishing
Caching Limited server-side caching Aggressive CDN caching
Content Delivery Server-generated per request Static files from CDN edge
Security Model Lightning Locker Lightning Web Security (LWS)

Key Insight

When you publish an LWR site, Salesforce essentially takes a "snapshot" of your codebase. The framework, components, and UI layer are compiled into static, immutable, and cacheable resources stored in Salesforce's CDN. Every time you change an LWC component, you must republish for changes to take effect. Note that per the Spring '26 release notes, Salesforce is migrating its CDN domains to Cloudflare during 2026 - keep this in mind for allowlists and network policies.

3

Performance Benefits Explained

Why LWR is Faster

The performance gains in LWR are real and measurable - Salesforce's official positioning is sub-second page loads - stemming from several architectural decisions:

  1. Static Content Generation - Pages are generated at build time, not runtime
  2. CDN Distribution - CDN caching serves content from edge locations globally (Salesforce is migrating its CDN domains to Cloudflare during 2026)
  3. Reduced Server Load - No dynamic component rendering per request
  4. Optimized Caching - All static resources are HTTP cacheable with long TTLs

The same publish-time model now benefits OmniStudio: since Spring '26, OmniScripts and FlexCards are GA on LWR sites with a strong load-time lift - though the republish caveat applies to them too.

Reality Check

If you end up building 10+ custom components as workarounds for missing LWR functionality, your "faster" LWR site may not be faster at all. Page performance is ultimately the combined performance of all components, and custom components often can't match the optimization of standard components.

4

Critical Limitations Architects Must Know

This is where marketing diverges from reality. Based on real-world implementation experiences with enterprise deployments (78,000+ members, 120+ audience segments), here are the limitations that will impact your architecture decisions:

📄
No Generic Record Pages
Must create object-specific pages for record display
👥
Limited Visibility Rules
Cannot reference profiles, permissions, or domains
📑
No Page Variations
Need separate pages; component variations now fill part of the gap
📰
CMS Limitations
Announcements still unsupported by standard components
🔗
Dynamic Navigation
Merge fields don't work in URLs
🎨
No CSS Editor
Must use SFDX metadata for global styles

1. Record Pages: No Generic Record Detail Page

Unlike Aura templates, LWR has no generic record pages. This means:

  • Record-specific components (Record Detail, Record Header, Record Banner) can only be used on object-specific pages
  • You cannot display record details on a regular site page like you could in Aura
  • If you want a "My Account" page showing user account details, you must create an Account-specific object page
  • Creating a generic record display component requires building complex custom LWC

2026 Update: Record Detail Component is GA

The Record Detail component is now generally available for LWR sites - users can view and edit records in your LWR site based on the page layout assigned to their profile, and a Record List (LWR) component exists as well. Caveats: it requires at least one active Community license and is unavailable for some objects (for example, Task). The object-specific-pages requirement above still applies.

2. Audiences vs. Visibility: A Fundamental Gap

Aura's robust audience targeting system is replaced by Visibility Rules in LWR, which is significantly more limited:

Feature Aura Audiences LWR Visibility
Starting Point User, Profile, Domain, Custom Permissions, Audiences User records, Contact fields, Account fields only
Rule Reusability Can reuse across components Must rebuild from scratch for each component
Profile-based Rules Supported Not directly supported
Custom Permissions Supported Not supported
Domain-based Rules Supported Not supported

Real-World Impact

Organizations with complex audience segmentation (100+ audiences) face significant challenges. You cannot simply reference existing visibility rules for new components - each rule must be configured from scratch.

3. Page Variations: Gone

In Aura, you could create multiple variations of a page for different audiences. In LWR, there are no page variations.

  • Different themes or layouts require completely separate pages
  • If one affiliation needs a blue theme and another needs gold, you need two separate pages
  • Navigation between these pages must be handled through custom logic, flows, or separate navigation items
  • Aura's automatic page variation selection based on audience is not available

2026 Update: Component Variations are GA

Enhanced LWR sites now support Component Variations - up to 15 variations per component, driven by visibility rules with priority ordering. This is Salesforce's official replacement for the page-variation use case, covering component-level personalization even though page-level variations remain unavailable.

4. CMS Collections: Limited Content Type Support

  • Announcements - Still cannot be displayed using standard LWR components (data binding only)
  • News content type - Enhanced LWR templates now include a News Detail page, closing part of the original gap
  • CMS workspaces - Since Winter '24, all CMS workspaces can publish to LWR sites
  • Carousel component - Not available out-of-the-box; requires custom development

5. Navigation: Merge Fields Don't Work in URLs

This is a significant limitation that affects dynamic record navigation:

  • Merge fields like {!User.FirstName} work for component content
  • The same merge fields do not work in dynamic URLs
  • Creating a "My Account" link that navigates to the user's specific account record requires custom workarounds

6. Missing Components and CSS Changes

  • Carousel and some CMS display components are still missing (Record Detail, previously on this list, is now GA - see the update above)
  • Site-wide CSS editor is not available
  • CSS must be migrated to sfdc_cms__styles folder in DigitalExperienceBundle metadata
  • Must use --dxp styling hooks for consistent branding
5

Migration Considerations and Challenges

Component Migration

The most significant migration effort involves components:

  • Aura components cannot run in LWR - Period. They must be rebuilt as LWC.
  • LWC components may need modifications for LWR-specific features
  • Out-of-the-box Aura components may not have LWR equivalents

2026 Update: AI-Assisted Migration Tooling

As of January 2026, Agentforce Vibes and the Salesforce DX MCP Server ship a dedicated Aura-to-LWC migration toolset (orchestrate_aura_migration). It orchestrates the analysis and conversion of Aura components to LWC - but note it migrates components, not whole sites. Site structure, pages, audiences, and CMS content still require the planning covered in this section. For end-to-end guidance, follow the official LWR migration documentation.

URL Structure

  • LWR sites don't use the /s/ URL segment by default
  • Plan URL redirects carefully to preserve SEO and bookmarks
  • Audit all internal and external links

Page Layout Conversion

  • Convert to Flexible Layouts
  • Plan for creating separate pages where page variations were used
  • Design custom navigation logic for audience-specific pages

Route Limits

LWR sites support up to 500 routes (unique URLs). For optimal performance, keep routes below 250. Use dynamic content instead of creating individual pages for each content item.

6

When to Migrate: A Decision Framework

LWR is a Good Fit When:

  • New Implementation - Starting fresh without legacy Aura components
  • Simple Site Structure - Limited audience segmentation needs
  • Performance is Critical - High-traffic public-facing sites
  • Strong LWC Development Team - Resources to build custom components
  • Minimal Record-Based Pages - Site doesn't heavily depend on CRM record displays

Consider Waiting When:

  • Complex Audience Requirements - 50+ audience segments with intricate rules
  • Heavy CRM Integration - Site displays many record types on various pages
  • Legacy Aura Investment - Significant custom Aura component development
  • Limited LWC Resources - Team not comfortable building custom components
  • CMS-Heavy Sites - Heavy reliance on News, Announcements, Carousels

"To be honest, if I were a customer with the experience I have now, I would never switch to LWR right now. It's super early. It's a fresh product. It's not ready. Salesforce sellers work great at promoting it, but my personal recommendation is: please wait until LWR is more workable."

— Enterprise Implementation Team Feedback (December 2025)

An honest 2026 addendum: since that feedback was recorded, the platform has matured substantially - the Record Detail component is GA, component variations are GA, OmniStudio (OmniScripts and FlexCards) is GA on LWR, and 16 standard components are available without a Community license - so re-run this decision framework against the current release rather than taking the 2025 verdict at face value.

7

Practical Workarounds and Solutions

For Audience Targeting

Implement a custom visibility solution:

  1. Create component variations instead of page variations - now GA in enhanced LWR sites with up to 15 variations per component and priority ordering
  2. Use Expression-Based Visibility (piloted Spring '23, now standard in enhanced LWR sites - note that pilot-era rules are no longer functional)
  3. Build custom LWC that checks user attributes and conditionally renders content
  4. Consider using Flows for complex audience logic

For Dynamic Navigation

  1. Create intermediate redirect pages
  2. Build custom LWC components that query record IDs via Lightning Data Service
  3. Implement programmatic navigation using lightning/navigation API

For Missing Components

Develop a reusable component library:

  • Generic Record Display component (for pages where the GA Record Detail component doesn't fit - for example, unsupported objects like Task)
  • Custom Carousel component
  • CMS Content Display for unsupported types (such as Announcements)
  • Dynamic Navigation Menu component

Silver Lining

These custom components can be leveraged across multiple projects, turning limitations into opportunities for reusable assets and accelerators. And before building form-heavy components from scratch, evaluate OmniScripts and FlexCards - GA on LWR since Spring '26.

8

Strategic Recommendations for Architects

1. Conduct a Thorough Assessment

Before committing to LWR migration:

  • Inventory all Aura components in your current site
  • Document audience segmentation requirements
  • List all page variations and their purposes
  • Identify CMS content types in use
  • Map dynamic navigation requirements

2. Plan for Custom Development

Budget for building custom components to replace missing functionality:

  • Generic record display components (where the GA Record Detail component doesn't cover your objects)
  • Custom navigation solutions
  • Carousel and content display components
  • Visibility/audience management logic

3. Consider a Hybrid Approach

For large existing sites:

  • Build new features on LWR
  • Maintain existing Aura site for complex functionality (no Aura retirement date has been announced as of August 2026)
  • Gradual migration as LWR matures with each release

4. Stay Current with Releases

Salesforce enhances LWR with each release. Key improvements to date:

  • Enhanced CMS workspaces (automatically enabled from Winter '23)
  • Expression-Based Visibility (piloted Spring '23, now standard in enhanced LWR sites)
  • Component Variations - up to 15 per component, visibility-rule driven (GA)
  • Record Detail and Record List (LWR) components (GA)
  • OmniScripts and FlexCards GA on LWR (Spring '26)
  • 16 standard components without a Community license (Spring '26)
  • AI-assisted Self-Service components and GA malware scans (Summer '26)
  • Partial deployment capabilities

5. Document Your Decisions

Create an Architecture Decision Record (ADR) documenting:

  • Why you're migrating (or not)
  • Known limitations and accepted risks
  • Custom development requirements
  • Timeline considerations

Key Takeaway

LWR is the strategic direction for Salesforce Experience Cloud. The performance benefits are real, and the platform matured substantially through the 2026 releases - though new features still ship for both Aura and LWR runtimes. However, don't let marketing hype drive technical decisions. Conduct honest assessments, understand the limitations, plan for custom development, and make informed decisions based on your organization's specific requirements.

9

Frequently Asked Questions

No. Unlike Aura templates, LWR has no generic record pages - record-specific components can only be used on object-specific pages. However, the Record Detail component is now generally available for LWR sites, letting users view and edit records based on the page layout assigned to their profile. It requires at least one active Community license and is unavailable for some objects such as Task.
No. Aura components cannot run in LWR and must be rebuilt as Lightning Web Components (LWC). As of January 2026, Agentforce Vibes and the Salesforce DX MCP Server ship a dedicated Aura-to-LWC migration toolset (orchestrate_aura_migration) that migrates components, though not entire sites.
LWR sites support up to 500 routes (unique URLs). For optimal performance, Salesforce recommends keeping routes below 250 and using dynamic content instead of creating individual pages for each content item.
No, LWR has no page variations - different themes or layouts require separate pages. However, Component Variations are now generally available in enhanced LWR sites: you can create up to 15 variations per component, driven by visibility rules with priority ordering, which is the official replacement for the variation use case.
No Aura retirement date has been announced as of August 2026. LWR is Salesforce's strategic direction for Experience Cloud, but the Spring '26 and Summer '26 releases still ship features for both runtimes, including GEO content snapshots and AI-assisted Self-Service components.
Yes - since Winter '24, all CMS workspaces can publish to LWR sites, and enhanced LWR templates include a News Detail page. However, Announcements still cannot be displayed using standard LWR components, and a Carousel component is not available out of the box.

References and Further Reading

Have Questions About LWR Migration?

This analysis is based on official Salesforce documentation and real-world implementation experiences from enterprise Experience Cloud deployments.

Contact Me for Consultation
Link copied to clipboard!
Previous Post
Agentforce Vibes: The Complete Developer Guide to Enterprise Vibe Coding
Next Post
ServiceNow ITSM Complete Beginner’s Guide
Archives by Year
2026 16 2025 16 2024 2 2023 9 2022 8 2021 4 2020 18 2019 16 2018 21 2017 34 2016 44 2015 54 2014 30 2013 31 2012 46 2011 114 2010 162
Search Blog

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Jitendra Zaa

Subscribe now to keep reading and get access to the full archive.

Continue Reading