CHT10

W3speedster Internal Css Customize

Function: w3SpeedsterInternalCssCustomize Description: If you want to make changes in your CSS file, W3Speedster allows you to make changes in stylesheet files. Parameter: $css- Css content of the file. $path- path of css file. Return: $css – make the required changes in CSS files. function w3SpeedsterInternalCssCustomize($css,$path){ if(strpos($path,’ //cssPath // ‘) !== false){ $css = str_replace(‘ […]

Read More…

W3speedster Inner JS Exclude

Function: w3SpeedsterInnerJsExclude Description: Exclude the script tag from lazy loading, which is present in the pages view source. Parameter: $inner_js = The script tag s content is visible in the page s view source $exclude_js_bool = 0(default) || 1 Return: 1 function w3SpeedsterInnerJsExclude($exclude_js_bool,$inner_js){ if(strpos($inner_js,’Script text’) !== false){ $exclude_js_bool= 1; } return $exclude_js_bool; } function w3SpeedsterInnerJsExclude($exclude_js_bool,$inner_js){ […]

Read More…

W3speedster Inner JS Customize

Function: w3SpeedsterInnerJsCustomize Description: If you want to make changes in your inline JavaScript, W3Speedster allows you to make changes in Inline JavaScript (for instance making changes in inline script you have to enter the unique text from the script to identify the script). Parameter: $script_text- The content of the script. Return: $script_text – Content of […]

Read More…

W3speedster After Optimization

Function: w3SpeedsterAfterOptimization Description: W3Speedster allows you to make changes to the HTML on your site after the page is optimized by the plugin. For instance replace or add in html. Parameter: $html – full html of the page. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterAfterOptimization($html){ $html = str_replace(array(‘image.png’),array(‘image-100×100.png’), […]

Read More…

W3speedster Before Start Optimization

Function: w3SpeedsterBeforeStartOptimization Description: W3Speedster allows you to make changes to the HTML on your site before actually starting the optimization. For instance replace or add in html. Parameter: $html = $html – full html of the page. Return: 1 – Reflect the changes done in html of the page. function w3SpeedsterBeforeStartOptimization($html){ $html = str_replace(array(“”),array(“”), $html); […]

Read More…

Start Image Optimization

By starting image optimization, the plugin will compress and optimize images on your site to enhance performance. Free Version: The first 500 images will be optimized. Pro Version: Unlimited images will be optimized. Activate the Pro Version to remove the limit and optimize all images on your site. […]

Read More…

Insert Aspect Ratio in img Tag

This feature allows you to specify the aspect ratio for images directly within the img tag. By including the aspect ratio, you ensure that the space for the image is reserved on the page even before the image is fully loaded. This helps prevent layout shifts and improves the overall user experience by maintaining consistent […]

Read More…

Responsive Images

The W3Speedster Plugin creates responsive images that adjust the background image of your webpage based on the user’s screen size, such as mobile, tablet, or desktop. This ensures that your images look optimal on all devices. […]

Read More…

Automatically Optimize Images on Upload

This feature automatically optimizes and converts new images to WebP format as soon as they are uploaded. If you notice that image uploads are taking longer than expected, you may want to turn off this feature. Ensure that the settings for image optimization and WebP conversion are also enabled to use this feature effectively. […]

Read More…

Optimize Images on the Go

This feature automatically optimizes images as site pages are crawled. The W3Speedster Plugin captures unconverted and unoptimized images when you visit a page and optimizes them in the background. This ensures that all images used on the site are prioritized for optimization. However, it is recommended to turn off this feature after the initial crawl […]

Read More…