Function: w3SpeedsterNoCriticalCss Description: W3Speedster allows you to exclude the pages from the Critical CSS (like search pages). Parameter: $url- Stores the url of the page.$ignore_critical_css- 0 (default) || 1 Return: 1 – it will exclude the page you do not wish to create critical CSS. function w3SpeedsterNoCriticalCss($url, $ignore_critical_css){ if(strpos($url,’/path/’) !==false) { $ignore_critical_css = 1; } […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Load Style Tag in Head to Avoid CLS
This feature allows style tags to load in the head section, fixing the Cumulative Layout Shift (CLS) of the page. To use it, simply add the ID of each style tag in the provided box and save your changes. Ensure that each style tag ID is entered on a new line. […]
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 […]
Enable Video lazy Load
Enable lazy loading for videos using the W3Speedster Plugin. This feature loads video content only when it becomes necessary, helping to speed up your site’s initial load time and provide a better performance overall. […]
Custom Code
[…]
W3speedster Customize Critical Css
Function: w3SpeedsterCustomizeCriticalCss Description: If you wish to make any changes in Critical CSS, W3Speedster allows you to make changes in generated Critical CSS. For instance if you want to replace/ remove any string/URL from critical CSS (like @font-face { font-family:”Courgette”; to @font-face { ) Parameter: $critical_css- Critical Css of the page. Return: $critical_css – Reflect […]
Exclude Pages From Optimization
To exclude specific pages from optimization, simply enter their URLs in the designated section. For example, you can list pages like /cart or /login that you do not wish to optimize. This ensures that these pages are left out of the optimization process while the rest of your site benefits from performance improvements. […]
Enable Audio lazy Load
Enable lazy loading for audio using the W3Speedster Plugin. This feature loads audio content only when it becomes necessary, helping to speed up your site’s initial load time and provide a better performance overall. […]
W3speedster Disable Htaccess Webp
Function: w3SpeedsterDisableHtaccessWebp Description: Our plugin converts .jpg/.png format to WebP format without changing the URL. it disable webp to render from HTACCESS. Parameter: $disable_htaccess_webp- 0(default) || 1 Return: It will add w3.webp at the end of the url for instance (xyz.jpgw3.webp). function w3SpeedsterDisableHtaccessWebp($disable_htaccess_webp){ $disable_htaccess_webp = 1 return $disable_htaccess_webp; } function w3SpeedsterDisableHtaccessWebp($disable_htaccess_webp){ $disable_htaccess_webp = 1 return […]
Cache
[…]