Updated:
- New Theme Options > Performance section. "Asset loading" mode: Optimized loads scripts and styles only on the pages that use them; Legacy (default when updating) loads everything as before. Each optimization below has its own switch.
- Optimized mode: sliders, countdown, accordion, masonry, lightbox, zoom, quick view... load on demand (new asset loader); unused libraries are no longer loaded on every page; scripts load in the footer.
- Theme CSS combined into one file per page type (handles kept for child themes); duplicate stylesheets removed; non-critical CSS loaded without blocking the page.
- Icon fonts converted to WOFF2 with font-display: swap (Elementskit icons 433KB -> 202KB).
- First content image is loaded with high priority (LCP), the others lazily; header images no longer compete with it.
- Sliders initialise when they come into view instead of all at page load; reserved space for the accordion slider (less layout shift).
- Plugins: Slider Revolution files only on pages with a slider; Contact Form 7 only on pages with a form; YITH Wishlist uses PHP templates (no React bundle); YITH Compare, prettyPhoto, currency switcher assets only where needed; jQuery Migrate removed (kept for YITH Compare).
- Mega menu and "Append content after footer" HTML cached for visitors (cleared automatically when content, menus or options are saved).
- Accessibility: main landmark, names for image/icon links (banners, product images, wishlist, cart, social icons), labelled search fields, tab roles, screen-reader text for "Read more" links.
- Demo import presets use the Optimized mode.
- Plugin Bzotech Elementor 2.3
- Plugin revslider 7.2
Fix:
- Product page rebuilt the "woocommerce_single" image size and rewrote its metadata on every request when "Image down size" was on (~0.8s per page).
- Mega menu rendered the template of sub-menu items that are never displayed.
- Bzotech Elementor re-initialised every slider/accordion/countdown of the page once per widget.
- Wishlist "added" class glued to the previous class name.
- Accordion slider: item links merged into one href.
- WhatsApp share link broken by product titles with special characters.
- Missing .screen-reader-text styles (hidden texts such as "Comment navigation" were displayed).
- Layout shift: header grew when the currency switcher script replaced its dropdown.
- Layout shift: accordion slider panels jumped when the first image loaded; its space was not reserved on mobile.
- Theme scripts versioned with their file time, so fixes reach visitors behind browser/CDN caches.