You can manually update the bundle. Remember, if your license has expired, you can renew it on your account page. Go to your account and download the latest version of W3Speedster Unzip the archive and then upload the ‘w3speedster’ folder to the ‘root’ directory and overwrite the existing folder […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Combine Google fonts
The W3Speedster Plugin loads and combines all Google Fonts used on your site and loads it together preventing multiple requests. If critical css is generated, all required google fonts are loaded instantly and rest are lazyloaded ie. loads on user interaction. If you still want to load any font upfront and then you can write […]
Exclude Images from Lazy Loading
To prevent specific images from being lazy-loaded, you can exclude them by providing their URL, class name, ID, or alt attribute in the designated section. For example, you can enter “xyz.png” for a specific image or “nolazy” for images with a particular class name. This allows those images to load normally while others benefit from […]
Custom JavaScript to Load on Page Load
If you wish to preload any JavaScript, add the code in this section without including the <script> tags. Enter the JavaScript code that needs to be loaded before the page fully loads. You have two options for loading: As File: Loads the script as a file. Defer: Defers loading of the script until after the […]
Enable Caching for Logged-in Users
W3Speedster enhances performance for authenticated users by enabling caching during logged-in sessions. This reduces the need to dynamically generate pages with each request: Upon login, the plugin continues to cache pages for authenticated sessions if caching for logged-in users is enabled. By default, many caching solutions disable this to avoid delivering personalized or sensitive data […]
Exclude file extensions from cdn
During the implementation of the CDN, our plugin provides a section to exclude the specific extensions so that the functionality of site is not hampered, for instance, excluding ‘Font Extensions’ like (.woff, .ttf, .eot, .woff2) might be required because cross origin request for fonts are not allowed in many sites and allowing of fonts from […]
Export Settings
To export your settings, copy the code provided on the W3Speedster Plugin’s export page and save it in a file. This allows you to back up your configuration or transfer it to another site, ensuring that your settings can be easily restored or applied in the future. […]
Updating W3Speedster
Go to Extensions Manager: Navigate to Extensions → Manage → Update. Check for Updates: Click the Check for Updates button to refresh the list of available updates for your installed extensions. Update the Extension: Select the extension(s) you want to update and click the Update button. Automatic Updates (Optional): Some extensions may support automatic updates. […]
Uninstalling W3Speedster
Remove the Package Reference Open the composer.json File: Locate the require section in the composer.json file and remove the entry for the w3speedster/w3speedster package. “require”: { “w3speedster/w3speedster”: “1.0.0”, … } Delete the above line, ensuring the JSON remains valid. Remove the Repository Entry: If the repositories section contains an entry for the w3speedster/w3speedster package, remove […]
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); […]