Function: w3SpeedsterPreStartOptimization Description: Modify page content pre optimization. Parameter: $html = Content visible in pages view source. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterPreStartOptimization($html){ $html = str_replace(‘Existing content’,’Changed content’,$html); return $html; } function w3SpeedsterPreStartOptimization($html){ $html = str_replace(‘Existing content’,’Changed content’,$html); return $html; } […]
Doc Category: Cake PHP
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. […]
Import Settings
To import settings into the W3Speedster Plugin, enter the exported JSON code from the plugin’s import/export page. This allows you to apply previously saved configuration settings to your current setup, ensuring consistency and saving time when transferring settings between different sites or environments. […]
Import / Export
[…]
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, […]
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 […]
Preload Caching
Feature: Proactively generates static HTML cache files before user requests, improving performance from the first visit. Functionality: W3Speedster automatically crawls and stores static versions of pages in advance. Cache generation is scheduled or triggered based on predefined criteria. How It Differs from Traditional Caching: Traditional caching: Generated only on the first user visit, which involves […]
Separate Cache for Mobile
Feature: Enables separate caching and optimized content delivery for mobile and desktop users. Functionality: W3Speedster analyzes the User-Agent string from the request header to detect the device type. Based on the detection: A dedicated static HTML cache file is generated for desktop users. A separate static HTML cache file is generated for mobile users. Caching […]
Cache Expiry Time
Feature: Cache Expiry Time, also known as Cache Lifetime, refers to the duration for which a cached HTML version of a page remains valid on the server before it is considered stale and needs to be refreshed or regenerated. Functionality: W3Speedster allows you to configure the cache expiry duration manually. Set the duration in seconds […]
Enable Caching Page with GET Parameters
Feature: This option enables the caching of pages that include GET parameters in their URLs (e.g., example.com/page?param=value). Functionality: When enabled, W3Speedster generates and serves cached versions of pages based on unique GET parameter values. Enhances performance for dynamic and content-rich websites, such as: E-commerce platforms Blogs with filters or query-based navigation Dynamic listing directories W3Speedster […]