Skip to main content
All guides
Web standards

Built on web fundamentals

Search rankings, AI search summaries, and a good visitor experience all come down to the same basics: pages that load quickly, clean HTML that crawlers can read, and content that's accessible to everyone. Root.js starts with sensible web-standard defaults and gives developers direct control over the details.

The publish dialog in the Root.js CMS, showing a scheduled publish time, an AI-written publish message, options to view the diff or summarize the changes with Root AI, and passing publishing checks.

Content that search engines and AI can read

Root.js renders every page to complete HTML, either on the server at request time or ahead of time as static files. Search crawlers, social preview bots, and AI assistants receive the full text and links immediately, without running client-side scripts.

That matters because plenty of crawlers, especially AI crawlers, don't execute JavaScript. On sites that assemble their pages in the browser, those crawlers can end up seeing an empty shell. With Root.js, crawlers see the exact same content visitors do.

Minimal JavaScript and built-in caching

Root.js doesn't ship JavaScript to the browser unless a page actually needs it. When a page includes an interactive component like a carousel or signup form, the browser only downloads the code for that component, and only on pages where it's used. Adding new sections elsewhere on the site doesn't slow down unrelated pages.

  • Each page loads only the stylesheets and scripts it uses.

  • Static assets are minified and content-hashed, so browsers and CDNs can cache them safely.

  • Server responses are compressed automatically.

  • Published CMS pages can be cached at the CDN for a short window, absorbing traffic spikes while still picking up content updates within a minute.

Images are usually the heaviest part of a page. The CMS stores the dimensions of every uploaded image so templates can reserve space up front and prevent layout shifts while images load. With the image service enabled, developers can also serve each image at the right size and format for the visitor's screen.

Search-friendly structure

Editors manage page titles, meta descriptions, and social sharing images right alongside the page content in the CMS. Developers control how those fields map to HTML tags in each template so every page follows your SEO conventions.

  • Clear URLs: Every page and locale gets its own predictable URL.

  • Sitemaps: Developers can enable a sitemap that lists every page and links its localized versions.

  • Redirects: Moved pages can return permanent redirects so existing links and rankings carry over.

  • Consistent trailing slashes: URLs can be normalized with or without a trailing slash to avoid duplicate entries in search indexes.

  • Proper 404 responses: Missing pages return a real “not found” status code so search engines don't index error pages.

Structured data for rich results and AI

Structured data is a machine-readable summary of a page using the schema.org vocabulary. It tells search engines and AI tools whether a page is an article with an author and publish date, a product with a price and stock status, an event with a time and location, or part of a site’s breadcrumb trail.

Search engines use this markup to display rich results like product details, event dates, and breadcrumbs directly in search listings. AI tools can also read it to get accurate facts instead of guessing from page layout.

Developers add structured data to templates as JSON-LD (the format Google recommends) inside each page’s HTML. Because Root.js renders on the server, every crawler gets it on the first load. Most fields can be wired directly to values editors already fill in, like titles, dates, authors, and images, so structured data stays current without extra manual entry.

You can verify the markup with Google’s Rich Results Test to see which rich results a page qualifies for. Developers can also add a publishing check that flags missing fields, such as an article without an author, before it goes live.

Accessible content

Good accessibility starts with clean HTML. Root.js templates output standard HTML without hidden wrapper markup, so developers have full control over heading hierarchy, landmarks, and ARIA labels, and accessibility audits inspect the same markup visitors receive.

In the CMS, every uploaded image has an alt text field for screen readers. If Root AI is enabled, it can draft alt text for an editor to review and adjust.

Editing a page module with Root AI in the CMS: an editor asks for a punchier headline and image alt text, and reviews the suggested changes as a diff before accepting them.
Root AI drafting a headline and alt text for a hero image before the editor reviews and accepts it.

Pre-publish checks

Developers can turn your team's SEO and accessibility standards into automated publishing checks, such as flagging a missing meta description, an image without alt text, a broken link, or a page title that's too long for search listings. Each check can either warn the editor or block publishing, with clear feedback shown before the page goes live.

Checks are meant to catch mistakes without blocking urgent updates. Admins can still publish when needed, and that override is recorded in the activity log. See Publishing, scheduling, and releases for more.

Built-in security headers

Every response from a Root.js server includes standard browser security headers: enforcing HTTPS, blocking other sites from embedding your pages in iframes, and preventing MIME-type sniffing. It also ships with a Content Security Policy that starts in report-only mode, letting developers see what would be blocked before turning on enforcement.

Measure with Lighthouse

Lighthouse, built right into Chrome, audits any page for performance, accessibility, best practices, and SEO, and points out specific issues to fix. It's the fastest way to check how a page holds up.

Root.js handles the framework-level fundamentals, while your final scores also depend on site-specific choices like image sizes, web fonts, color contrast, and third-party scripts (analytics, tag managers, and embeds). Running Lighthouse on your main templates on mobile before launch and after big changes will keep surprises to a minimum.

Frequently asked questions

Do search engines see content from the CMS?
Yes. Published content is rendered directly into each page's HTML, so crawlers see it without having to execute JavaScript.
Can AI assistants read our pages?
Yes. Because pages are delivered as complete HTML, AI tools that fetch web pages receive the full text. Root.js doesn't generate AI-specific files like llms.txt automatically, though developers can add one just like robots.txt.
Does Root.js add structured data automatically?
No. The right schema depends on what each page represents, so developers add JSON-LD to your templates and pull values from fields editors already maintain in the CMS.
Will our site get a perfect Lighthouse score?
Root.js avoids many common performance bottlenecks out of the box, but your final score also depends on your images, web fonts, and third-party scripts. It's best to test your key templates early and after major changes.
Is alt text required for every image?
Every image has an alt text field, and Root AI can draft a starting description. If you want to require it, developers can add a publishing check that flags or blocks images missing alt text.
Do we get a sitemap?
Yes, developers can enable an automatic sitemap that lists every page along with its translated versions.
1
2
3
4
5
6
7
8
9
10
11
12
Breakpoint: