PX Builder › Tech stack
The PX Builder tech stack, in bytes and checks
What a PX Builder page loads, how every save is checked, and what search engines get – measured from the 1.0.0 code, including what it leaves to Joomla.
- pxbuilder.csscss8.9 KB
- card/element.csscss3.3 KB
- heading/element.csscss2.5 KB
- iconbox/element.csscss2.5 KB
- button/element.csscss2.1 KB
- tabs/element.csscss1.8 KB
- image/element.csscss1.8 KB
- stat · text · list csscss2.9 KB
- tabs/element.jsjs1.3 KB
- elements.jsjs0.7 KB
- editor.jsjsnot loaded
JavaScript 2.0 KBCSS 25.7 KBjQuery 0
From page JSON to plain HTML
A PX Builder page is stored as JSON in its own table, #__pxbuilder_pages, with a separate draft, a cached copy of its CSS and Joomla Content History. Nothing is drawn in the browser: on each request the renderer reads the JSON and every element's PHP layout prints its HTML.
The 24 elements are Joomla plugins in the pxbuilder group. Each one brings its own CSS, and only 8 bring JavaScript – loaded as ES modules, only on pages that use them. The editor is React 19 and runs in the administrator only.
{"type": "heading",
"props": {"text": "Breads, pastry…",
"level": "h1"}}<h1 class="px-heading…"> Breads, pastry and cakes. </h1>
A lightweight Joomla page builder, measured
The shared files are small: pxbuilder.css is 8.9 KB gzipped and elements.js 0.7 KB. Each element adds its own CSS file, and JavaScript only where it needs it – the filter is the largest at 2.7 KB, and carousels, slideshows and testimonials share one 2.6 KB slider.
The PX Builder demo home page loads 2.0 KB of PX Builder JavaScript and 25.7 KB of PX Builder CSS, gzipped, with no jQuery. One honest note: element CSS comes as one small file per element – fine over HTTP/2, and your cache or CDN tool can combine them.
Images: WebP sizes, width and height, lazy loading
For each image PX Builder writes WebP copies at 480, 960 and 1440 px and prints them in srcset with a sizes value from the column width. Width and height are always set, so the page does not jump while it loads. Images in the first section load at once; the rest load lazily with decoding="async".
The copies need PHP's GD extension and are made two per request, so right after you import a theme the first visits may still get the original files.
<img src="/px_builder/images/…/ill-style.webp"
srcset="…-480.webp 480w, …-960.webp 960w,
…-1440.webp 1440w, …/ill-style.webp 1468w"
sizes="100vw"
width="1468" height="670"
alt="The Style panel: …"
loading="lazy" decoding="async">
- WebP copies
- from the column width
- no layout shift
- below the first section
Six checks on every save
Every editor request carries Joomla's CSRF token, compared with hash_equals, and Joomla ACL decides who may edit; custom CSS, the site style and themes have their own permissions. The page is then validated against each element's options: unknown keys are dropped and anything over 2 MB is refused.
Rich text passes an allowlist – p br strong em a ul ol li, with links only to http, https, mailto and tel. Custom CSS is sanitized and capped at 40 KB. Images come only from the Media Manager, the form element has rate limits and Joomla's captcha, theme images download only from Unsplash, and previews are sent with noindex and no-store.
{"type": "text", "props": {"text":
"<p>Opening hours</p><script>…</script>
<a href=\"javascript:…\">Call us</a>"},
"onload": "…"}
- CSRF tokenhash_equals on X-CSRF-Token
- Joomla ACLedit, custom CSS, style, themes
- Size2 MB or HTTP 413
- Validatorunknown keys dropped
- Sanitizerallowlist tags and link schemes
- Custom CSSsanitized, 40 KB max
Saved: <p>Opening hours</p> <a>Call us</a>
Privacy by default
Maps and videos load nothing from third parties until a visitor clicks. Videos play through youtube-nocookie.com or Vimeo with dnt=1. By default the map element shows the address with a link to OpenStreetMap and embeds nothing; if you pick Google, the map is embedded only after "Show map", and only Google's two embed URL forms are accepted.
The builder's 12 font families are WOFF2 files on your own domain, with font-display: swap. The free PX Canvas template loads no web font either, unless you choose one of its Google font schemes.
Third-party requests
| youtube-nocookie.com | 0 |
| google.com (Google map, if chosen) | 0 |
| fonts.googleapis.com | 0 |
| OpenStreetMap (default map) | 0 |
Joomla page builder SEO: what PX Builder does, and what it leaves to Joomla
Search engines get the full content in the first HTML response – no JavaScript needed to read a page. You set each heading's level, every image has an alt field, pages get SEF URLs from their alias and set the page title, and "Edit with PX Builder" keeps a clean HTML copy in the article text.
PX Builder 1.0 has no fields of its own for meta description, Open Graph, schema, canonical or the sitemap, and its pages do not read the menu item's Metadata tab. Add them with your SEO extension – the way most Joomla sites already handle them.
PX Builder
- Server HTML in the first response
- Heading level per element, h1–h4
- Alt text on every image
- SEF URL from the page alias
- Page title
- Clean HTML copy in articles
- noindex on previews
Joomla or your SEO extension
- Meta description
- Open Graph and share image
- Schema / JSON-LD
- Canonical URL
- XML sitemap
- Robots per page
Accessibility in the elements
The site style checks every color pair against the WCAG contrast ratio and refuses pairs under 4.5:1. Interactive elements – tabs, carousels, the gallery, the filter – carry ARIA attributes and visible :focus-visible outlines, and motion stops when the visitor has asked for reduced motion.
Requirements and stack
| Joomla | 5.4 or 6 – the installer refuses older versions |
|---|---|
| PHP | 8.3 or newer; GD for the WebP copies |
| Storage | JSON in #__pxbuilder_pages, draft column, CSS cache, Joomla Content History |
| Front end | PHP layouts, vanilla JavaScript as ES modules, self-hosted WOFF2 fonts |
| Editor | React 19, Zustand, dnd-kit, TypeScript, Vite – administrator only |
| Elements | 24 Joomla plugins, each with element.json, a PHP layout and its CSS – write your own |
| Templates | Cassiopeia, T4 or any template; free PX Canvas template included |
Questions
Does PX Builder slow down a Joomla site?
A page loads the 8.9 KB core CSS, 0.7 KB core JavaScript and the files of the elements it uses – all gzipped. The PX Builder demo home page loads 2.0 KB of PX Builder JavaScript and no jQuery.
Can search engines read the pages without JavaScript?
Yes. Pages are rendered by PHP, so the content is in the first HTML response. Only interactive elements such as tabs or the gallery use JavaScript.
Does PX Builder add meta descriptions, Open Graph or schema?
Not in 1.0. Add them with your SEO extension; PX Builder sets the page title, heading levels and image alt text.
Is PX Builder GDPR-friendly?
Maps and videos load nothing from third parties until a visitor clicks, videos use youtube-nocookie.com or Vimeo with dnt=1, and the builder's fonts are served from your own domain.
Can I put a cache or CDN in front of it?
Yes. Published pages are plain HTML and static CSS and JavaScript files, so page caching and CDNs work as for any Joomla page.
More about PX Builder
Check the numbers on your own site.
Install Lite free on a test site and open the network panel – or get all 87 themes for $79.