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; } […]
Archives: W3Speedster Docs
Documentation for W3Speedster
Enable CSS Optimization
Feature: CSS Optimization is the process of reducing the size of CSS files and minimizing their render-blocking impact during page load. Enabling CSS optimization ensures that only essential styles load in an efficient order, resulting in faster page rendering and improved Core Web Vitals performance. Why We Need CSS Optimization Improve Page Load Speed: Optimized […]
Preload Media
Feature: The Preload Resources feature in W3Speedster enables developers to instruct browsers to prioritize fetching specific critical resources early, before they are discovered through standard HTML parsing. By injecting <link rel=”preload”> directives into the document head, this mechanism accelerates the delivery of high-priority assets such as stylesheets, fonts, scripts, and images, improving page load speed […]
CDN URL
Feature: A CDN URL refers to the web address provided by a Content Delivery Network used to serve static files (e.g., CSS, JS, images) from distributed global edge servers instead of your origin server. This approach significantly enhances page speed, reduces server load, and improves global accessibility. In W3Speedster, integrating a CDN URL is a […]
Delete HTML Cache
Feature: The “Delete HTML Cache” feature in W3Speedster allows administrators and developers to manually clear the static HTML versions of cached pages. HTML caching significantly improves performance by serving pre-rendered pages, but when your site content or layout changes, the cached files can become outdated. This feature ensures that updates are reflected immediately on the […]
Download W3Speedster
Downloading W3Speedster After purchasing W3Speedster, you can download the ZIP file from your W3Speedster Account Dashboard, email, or from the order received page during checkout. To download it from my account, navigate to: My Account (login required). Locate the most recently purchased order and click Download. Safari Users – Important Notice Safari may automatically unzip […]
Delete HTML/JS/CSS Cache
Feature: The “Delete HTML/JS/CSS Cache” feature in W3Speedster enables you to clear all cached HTML, JavaScript and CSS files that have been previously minified and combined for performance optimization. While asset caching accelerates page loads by reducing file size and request counts, it may cause issues when scripts or stylesheets are updated. This function ensures […]
Installing W3Speedster
The method of installing W3Speedster in a CorePHP application is straightforward and does not require a plugin manager. It involves uploading necessary files, setting up optimization includes, and accessing the admin panel via URL parameters. 1. Extract the Package Once downloaded, Unzip the archive. Inside, you will find a folder named w3speedster along with two […]
Installing W3Speedster
Download the extension zip: Download the zip provided on my account page of W3Speedster. Installing: extract the zip in the root directory of your project. Add the required files: Next, copy the W3speedster/EventListener folder and paste it into the src folder within the project root directory. Config the bundle: Then, navigate to the project_root_directory/config folder, […]
Installing W3Speedster
1. Extract the Extension Navigate to your Yii2 application root directory. Extract the downloaded zip file into the root directory of your Yii2 project. 2. Locate Configuration File Go to the config/ directory in your Yii2 application. Open the web.php file. This file is typically used for web application configuration settings in Yii2. 3. Add […]
