Create a Directory for the Package Navigate to the Project Root: Open your terminal and go to your Laravel project directory. cd /path/to/your/project Create a packages Directory: This directory will hold your custom packages. mkdir packages Add the Package Code: Inside the packages directory, create the necessary folder structure for the w3speedster package: mkdir -p […]
Archives: W3Speedster Docs
Documentation for W3Speedster
W3speedster Pre Start Optimization
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; } […]
Delete HTML Cache
Delete the HTML cache whenever you make changes to your site to ensure that the latest updates are reflected. This helps maintain accurate and up-to-date content for your visitors. […]
Installation W3Speedster
Unzip the Magento archive you have and start the installation process of the Magento extension by uploading the complete extension folder using FileZilla Software. Make sure your uploaded folder must go in the /root/app/code. Once you upload your Magento extension, you’ll now have to run the below commands through the terminal in the extension root […]
License Key
To use your licensed plugin, you must enter a license key. This key is unique for each product and is automatically generated when your plugin order is completed. You will find the key in the “Order Completed” email from W3Speedster. Activating the key ensures you receive updates and access to all plugin features. […]
Enable Javascript Optimization
Enable this box to start JavaScript minification, a feature provided by the W3Speedster Plugin that optimizes your site’s performance. […]
Installing W3Speedster
Download W3Speedster Once you have bought W3Speedster, you can download the zip file from your W3Speedster account page. Note: If you use Safari, it might be automatically unzipping the file on download. Installing W3Speedster The manual installation involves uploading all the files to your web server through FTP software. Unzip the archive, then upload the […]
JPG/PNG Image Quality
The W3Speedster Plugin maintains a standard image quality of 90% to preserve the clarity of your images. However, you can adjust this setting to meet your preferences, balancing image quality with file size according to your needs. […]
Combine Google fonts
The W3Speedster Plugin loads and combines all Google Fonts used on your site and loads it together preventing multiple requests. If critical css is generated, all required google fonts are loaded instantly and rest are lazyloaded ie. loads on user interaction. If you still want to load any font upfront and then you can write […]
Exclude Images from Lazy Loading
To prevent specific images from being lazy-loaded, you can exclude them by providing their URL, class name, ID, or alt attribute in the designated section. For example, you can enter “xyz.png” for a specific image or “nolazy” for images with a particular class name. This allows those images to load normally while others benefit from […]