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; } […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Import / Export
[…]
Cache Path
Feature Defines the location on your server where cached files (static HTML, JavaScript, CSS, etc.) are stored for improved performance. Default Behavior: Cache Path Management: W3Speedster automatically manages the cache path. Default Location: Cached files are stored in the wp-content/cache folder. Custom Cache Path Customizable Option: W3Speedster allows you to specify a custom cache path […]
Load SVG Inline Tag as URL
Feature: The “Load SVG Inline Tag as URL” option in W3Speedster determines how SVG images are rendered. Instead of embedding the full SVG code inline in the HTML (which increases DOM complexity), this setting enables loading SVGs as external files via standard <img> tags. Why This Setting is Important Improved Page Performance: Prevents HTML bloat […]
W3speedster Seprate Critical Css For Post Type
Function: w3SpeedsterCreateSeprateCssOfPostType Description: By default our plugin creates a single critical css for post but If you wish to generate separate critical CSS for post. W3Speedster allows you to create critical CSS separately post-wise. Parameter: $separate_post_css- Array of post types. Return: $separate_post_css – create separate critical css for each post and page. function w3SpeedsterCreateSeprateCssOfPostType($separate_post_css){ $separate_post_css […]
W3speedster Seprate Critical Css For Category
Function: W3speedsterCriticalCssOfCategory Description: W3Speedster Create seprate critical css for categories pages. Parameter: $separate_cat_css- Array of Category. Return: $separate_cat_css – create separate critical css for each category and tag. function W3speedsterCriticalCssOfCategory($separate_cat_css){ $separate_cat_css = array(‘category’,’tag’,’custom-category’); return $separate_cat_css; } function W3speedsterCriticalCssOfCategory($separate_cat_css){ $separate_cat_css = array(‘category’,’tag’,’custom-category’); return $separate_cat_css; } […]
Change Logs
Feature: The Change Logs functionality in W3Speedster provides a detailed audit trail of all configuration changes made within the plugin. It tracks which user performed what action, along with timestamps, ensuring complete transparency and accountability over optimization settings. Why We Need It Accountability: Tracks individual user actions, helping teams identify who made specific changes. Audit […]
Optimize Images via cron
Feature: The “Optimize Images via Cron” setting in W3Speedster leverages PHP framework-level or system-level cron jobs to automatically optimize images in the background. This ensures continuous performance enhancement without overloading server resources or requiring manual intervention. Why Enable This Feature? Automated Optimization: Streamlines the process of optimizing images by scheduling background tasks without the need […]
Optimize Images on the Go
Feature: The “Optimize Images on the Go” feature in W3Speedster allows for real-time, automatic image optimization during live page views or when pages are crawled. This ensures that unoptimized images are progressively enhanced without manual intervention, enhancing overall site performance. Why Enable This Feature? Real-Time Image Detection and Optimization: As users access pages, W3Speedster scans […]
W3speedster Change Video To Videolazy
Function: w3SpeedsterVideoToVideoLazy Description: Change video tag to videolazy tag Parameter: $videolazy- 0(default) || 1 Return: 1 – Change video tag to videolazy tag. function w3SpeedsterVideoToVideoLazy($videolazy){ $videolazy= 1; return $videolazy; } function w3SpeedsterVideoToVideoLazy($videolazy){ $videolazy= 1; return $videolazy; } […]