Function: w3SpeedsterInnerJsCustomize Description: If you want to make changes in your inline JavaScript, W3Speedster allows you to make changes in Inline JavaScript (for instance making changes in inline script you have to enter the unique text from the script to identify the script). Parameter: $script_text- The content of the script. Return: $script_text – Content of […]
Doc Category: Symfony
W3speedster After Optimization
Function: w3SpeedsterAfterOptimization Description: W3Speedster allows you to make changes to the HTML on your site after the page is optimized by the plugin. For instance replace or add in html. Parameter: $html – full html of the page. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterAfterOptimization($html){ $html = str_replace(array(‘image.png’),array(‘image-100×100.png’), […]
W3speedster Before Start Optimization
Function: w3SpeedsterBeforeStartOptimization Description: W3Speedster allows you to make changes to the HTML on your site before actually starting the optimization. For instance replace or add in html. Parameter: $html = $html – full html of the page. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterBeforeStartOptimization($html){ $html = str_replace(array(“”),array(“”), $html); […]
W3speedster Pre Start Optimization
Function: w3SpeedsterPreStartOptimization Description: Modify page content pre optimization. Parameter: $html = Content visible in pages view source. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterPreStartOptimization($html){ $html = str_replace(‘Existing content’,’Changed content’,$html); return $html; } function w3SpeedsterPreStartOptimization($html){ $html = str_replace(‘Existing content’,’Changed content’,$html); return $html; } […]
Export Settings
Feature: The Export Settings functionality in W3Speedster allows developers and site administrators to save their complete performance optimization configuration as a structured JSON file. This export acts as a reliable backup or a transferable configuration package—ideal for environment synchronization, migration, or collaborative development workflows. Why We Need It Configuration Backup: Preserves all customized optimization settings […]
Import Settings
Feature: The Import Settings feature in W3Speedster enables developers to quickly apply predefined performance configurations by importing a JSON-formatted settings file. This functionality is especially beneficial for managing multiple environments or deploying consistent optimization practices. Why We Need It Consistency Across Sites: Ensures uniform performance configurations across development, staging, and production environments. Time Efficiency: Eliminates […]
Import / Export
[…]
Enable Core Web Vitals Logs
Feature: The “Enable Core Web Vitals Logs” feature in W3Speedster activates real-time tracking of critical user experience metrics, including: Largest Contentful Paint (LCP): Measures page loading performance. First Input Delay (FID): Measures interactivity responsiveness. Cumulative Layout Shift (CLS): Measures visual stability and layout shifts. These logs provide developers with valuable insights into how real users […]
Preload Page Caching Per Minute
Feature: Automatically refreshes cached versions of pages at set intervals to maintain content freshness and fast load times. Functionality: W3Speedster supports configurable cache preloading intervals (e.g., every minute). Designed for high-traffic or frequently updated sites, such as news portals or live data platforms. How It Works: Automatic Page Preloading: W3Speedster crawls and regenerates cached pages […]
Preload Caching
Feature: Proactively generates static HTML cache files before user requests, improving performance from the first visit. Functionality: W3Speedster automatically crawls and stores static versions of pages in advance. Cache generation is scheduled or triggered based on predefined criteria. How It Differs from Traditional Caching: Traditional caching: Generated only on the first user visit, which involves […]