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’), […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Exclude path from cdn
Feature: While integrating a Content Delivery Network (CDN) significantly enhances performance by offloading static resources, not all paths in a Yii2 application—should be served via CDN. Certain directories and dynamic endpoints must always be served from the origin server to maintain functional integrity and prevent unexpected issues. W3Speedster addresses this requirement with a flexible Path […]
Exclude path from cdn
Feature: While integrating a Content Delivery Network (CDN) significantly enhances performance by offloading static resources, not all paths in a Magento application should be served via CDN. Certain directories and dynamic endpoints must always be served from the origin server to maintain functional integrity and prevent unexpected issues. W3Speedster addresses this requirement with a flexible […]
Exclude Background Images from Lazy Loading
Feature: The Exclude Background Images from Lazy Loading feature in W3Speedster ensures that background images defined via CSS or inline styles are loaded immediately, bypassing the plugin’s lazy loading mechanism. This is essential for preserving the visual continuity, branding, and first-impression impact of websites where background imagery plays a key design or functional role. Why […]
Updating W3Speedster
Go to Update: Log in to your Drupal site as an administrator. Navigate to Manage > Reports > Available updates. Check for Updates: Click on the Check manually button to ensure you have the latest update status. Update the Module: If updates are available, click on the Update tab. Select the modules you want to […]
Delete Critical CSS
Feature: The “Delete Critical CSS” option in W3Speedster enables developers and administrators to manually clear all previously generated Critical CSS. Critical CSS contains the essential above-the-fold styles that are rendered immediately during page load to improve perceived performance. Clearing this cache ensures that any recent styling modifications are accurately reflected in the initial page render. […]
Exclude path from cdn
Feature: While integrating a Content Delivery Network (CDN) significantly enhances performance by offloading static resources, not all paths in a CakePHP—should be served via CDN. Certain directories and dynamic endpoints must always be served from the origin server to maintain functional integrity and prevent unexpected issues. W3Speedster addresses this requirement with a flexible Path Exclusion […]
Can’t upload/install W3Speedster
1. Check Compatibility Drupal Version: Ensure the module is compatible with your Drupal version. PHP Version: Check if the module requires a specific PHP version. 2. Read Error Messages Details: Carefully read the error message displayed. It often provides clues about what went wrong. Log Messages: Check the log messages by navigating to Reports > […]
Exclude path from cdn
Feature: While integrating a Content Delivery Network (CDN) significantly enhances performance by offloading static resources, not all paths in a CodeIgniter application should be served via CDN. Certain directories and dynamic endpoints must always be served from the origin server to maintain functional integrity and prevent unexpected issues. W3Speedster addresses this requirement with a flexible […]
Exclude path from cdn
Feature: While integrating a Content Delivery Network (CDN) significantly enhances performance by offloading static resources, not all paths in a Joomla—should be served via CDN. Certain directories and dynamic endpoints must always be served from the origin server to maintain functional integrity and prevent unexpected issues. W3Speedster addresses this requirement with a flexible Path Exclusion […]