SPA navigation
Links between pages load instantly without a full page reload, with an option to switch back to classic reloads.
Published Divhunt sites work as a single-page app. When a visitor clicks an internal link, only the new page's content is fetched (a small per-page file from the CDN), rendered into the page and the URL is updated with the History API. Shared CSS and scripts stay loaded. If a third-party script needs a real page load on every navigation, turn on 'Refresh on page change' in site settings to make the site behave like a classic multi-page site.
How it works
- Click handlers on a[page-id] and on relative links that match a page route; target=_BLANK links and elements with dh-spa='prevent' are skipped.
- CMS pages fetch their item through the data source.
- history.pushState with document.title set to the page name (variables resolved).
- Setting dh.mpa disables SPA handling.
When to use it
- Fast page switches on a marketing site
- Page transitions with exit animations
Limitations
- On SPA navigation the meta tags, canonical and schema are not updated; document.title becomes the page name, not the SEO title
- Third-party scripts that expect page loads may need MPA mode
Availability
- Works in Designer and MCP.
- Included in every plan.
How to use it.
- SPA is on by default
- To turn it off: Site settings > General > Refresh on page change
Questions.
Will Google see each page?
Related features.
Prerendering for search bots
Divhunt sites render in the browser; search and social bots get a prerendered HTML version so the full content can be indexed.
Global CDN
Published site code and uploaded files are served from a global CDN (Bunny), close to every visitor.
Fast load times: per-page code and long-term caching
Each page loads only its own code, shared bundles are cached by the browser for a year, and every publish gets fresh URLs.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→