Feature: Caches static resources in a visitor’s browser to speed up page load times and reduce server load. Functionality: Automatic Cache Control Headers: W3Speedster adds the necessary cache control headers to store static resources (like images, CSS, JS) in the browser cache for a specified duration. Optimized Server Configuration: Configures the server to support local […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Exclude Pages from CSS Optimization
To exclude specific pages from CSS optimization, enter the URL or a part of the URL where you do not want the CSS optimization to be applied. List each URL or URL fragment on a separate line to ensure those pages are excluded from the optimization process. […]
Exclude Page from JavaScript Optimization
With the W3Speedster Plugin, you can exclude specific pages from JavaScript minification and lazy loading by entering the script URLs or parts of the script URLs. Simply list each URL or URL fragment on a separate line. This allows you to ensure that certain pages or scripts are not affected by the optimization process. […]
Pixels to Load Resources Below the Viewport
The W3Speedster Plugin defaults to starting the loading of resources such as images, videos, iframes, background images, and audio when they are 200 pixels below the viewport. You can adjust this setting to start loading these resources earlier, so they appear more quickly as you scroll. For example, you can enter a value like 200 […]
W3speedster Customize Add Settings
Function: w3SpeedsterCustomizeAddSettings Description: If you wish to change in variables and paths (URL), W3Speedster allows you to make changes in variables and paths with the help of this plugin function. Parameter: $add_settings- settings of the plugin. Return: :$add_settings – reflect the changes made in variable and path. function w3SpeedsterCustomizeAddSettings($add_settings){ $add_settings = str_replace(array(“mob.css”),array(“mobile.css”), $add_settings); return $add_settings; […]
Enable Gzip compression
Feature: Reduces the size of files transferred between the server and the visitor’s browser to improve page load times and reduce bandwidth usage. Functionality: Automatic Gzip Compression: When enabled, W3Speedster automatically compresses text-based resources (HTML, CSS, JavaScript, JSON) before they are sent to the browser. Requires Apache Server: This feature works only on servers running […]
Plugin Hooks
[…]
Enable Core Web Vitals Logs
Enabling Core Web Vitals logs allows you to track and record data related to the Core Web Vitals metrics, which include Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS). These metrics are essential for assessing your site’s performance and user experience. By logging this data, you can analyze performance issues, […]
Load SVG Inline Tag as URL
Load SVGs as URLs instead of inline tags to avoid creating large DOM elements. This approach helps improve performance by reducing the size of the DOM and simplifying your page structure. […]
W3speedster Customize Main Settings
Function: w3SpeedsterCustomizeMainSettings Description: Customize plugin main settings. Parameter: $settings- Plugin main settings array (like: exclude css, cache path etc ) Return: $settings function w3SpeedsterCustomizeMainSettings($settings){ $settings[‘setting_name’] = value; return $settings; } function w3SpeedsterCustomizeMainSettings($settings){ $settings[‘setting_name’] = value; return $settings; } […]