[…]
Doc Category: Prestashop
Custom JavaScript to Load After Page Load
Feature: The “Custom JavaScript to Load After Page Load” feature in W3Speedster enables developers to execute JavaScript only after the entire web page—including HTML, CSS, JavaScript, images, and other assets—has fully loaded. This is achieved by leveraging the window.onload event to defer non-critical scripts, ensuring a smoother initial render and improved performance. Why We Need […]
Custom JavaScript to Load on Page Load
Feature: The “Custom JavaScript to Load on Page Load” feature in W3Speedster allows developers to inject JavaScript code early in the page lifecycle—ideal for initializing UI components, activating third-party integrations, or defining site-wide logic that must be available immediately. W3Speedster provides two flexible loading modes for custom scripts: As File – Load the script from […]
Custom CSS to Load on Page Load
Feature: The “Custom CSS to Load on Page Load” feature in W3Speedster enables developers to inject critical CSS rules directly into the page’s initial HTML, ensuring that these styles render immediately upon load. This functionality is essential for enhancing the visual stability and user experience by controlling above-the-fold content rendering, especially in sites using deferred […]
Custom Code
[…]
Exclude Page from JavaScript Optimization
Feature: The “Exclude Pages from JavaScript Optimization” feature in W3Speedster allows site administrators to bypass JavaScript optimizations such as minification, merging, and lazy loading on selected pages. This is essential when specific scripts must load in their original order or format to maintain full functionality. Why We Need It Preserve Script Functionality: Some JavaScript files […]
Force Lazy Load Javascript
Feature: The “Force Lazy Load JavaScript” feature in W3Speedster allows developers to defer the loading of non-critical JavaScript files or inline scripts that are not essential for the initial render. This includes third-party scripts such as social media widgets, analytics trackers, and marketing tools. Delaying these scripts improves performance without affecting primary functionality. Why We […]
Exclude Pages from CSS Optimization
Feature: The “Exclude Pages from CSS Optimization” feature in W3Speedster allows developers to opt out specific URLs from receiving CSS performance enhancements such as minification, merging, critical CSS injection, and lazy loading of stylesheets. This ensures that design integrity and functional styling are maintained on complex, third-party, or interactive pages where CSS modifications may lead […]
Force Lazy Load Link Tag CSS
Feature: The “Force Lazy Load Link Tag CSS” feature in W3Speedster enables developers to intentionally defer the loading of non-critical CSS files such as icon libraries and font stylesheets (e.g., fontawesome.css, icons.css). These CSS files are typically large and not required immediately during the initial page render, making them prime candidates for lazy loading to […]
Exclude Link Tag CSS from Optimization
Feature: The “Exclude Link Tag CSS from Optimization” feature in W3Speedster empowers developers and site administrators to selectively exclude specific CSS files from being affected by optimization techniques such as minification, combination, and lazy loading. This capability is essential for maintaining layout consistency, preventing conflicts, and ensuring third-party compatibility in complex or legacy environments. Why […]