Magento Archives - W3Speedster https://w3speedster.com W3Speedster Mon, 02 Dec 2024 14:35:04 +0000 en-US hourly 1 https://w3speedster.com/wp-content/uploads/2020/06/cropped-w3-logo-design-05-1-100x100.png Magento Archives - W3Speedster https://w3speedster.com 32 32 Uninstalling W3Speedster https://w3speedster.com/w3speedster_doc/w3speedster-documentation/introduction/uninstalling-w3speedster-2/ Mon, 02 Dec 2024 14:31:19 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56119 Identify the Extension First, confirm that the W3Speedster extension is installed by checking the Magento extension list: php bin/magento module:status Look for an entry like W3Speedster_W3Speedster (or similar). This confirms the extension is installed and enabled. Disable the Extension To prepare for uninstallation, disable the extension: php bin/magento module:disable W3Speedster_W3Speedster Replace W3Speedster_W3Speedster with the actual [...]

Read More...

The post Uninstalling W3Speedster appeared first on W3Speedster.

]]>
Identify the Extension

First, confirm that the W3Speedster extension is installed by checking the Magento extension list:
php bin/magento module:status

Look for an entry like W3Speedster_W3Speedster (or similar). This confirms the extension is installed and enabled.

Disable the Extension

To prepare for uninstallation, disable the extension:
php bin/magento module:disable W3Speedster_W3Speedster

  • Replace W3Speedster_W3Speedster with the actual module name if it differs.
  • This command prevents Magento from loading the extension’s files.

Unregister the Extension

Remove the extension from the system using the composer command. Depending on how the extension was installed, the process differs:

If Installed via Composer:
Remove the extension with Composer:
composer remove w3speedster/w3speedster

This removes the package files and updates the composer.json and composer.lock files.
Regenerate the autoloader:
composer dump-autoload

If Installed Manually (from a ZIP file or manually placed in app/code):

Delete the module files from app/code:
rm -rf app/code/W3Speedster/W3Speedster

Ensure no residual files are left in the codebase.

Remove Data from Database

If the extension added database changes, such as tables, fields, or configuration settings, clean them up:

Run the setup:upgrade Command:
php bin/magento setup:upgrade

This command ensures the database schema is updated to exclude the removed extension.

Manually Clean the Database (if needed): Check for tables, rows, or configuration entries added by the extension. Common places to look:

  • Custom tables (e.g., w3speedster_*).
  • core_config_data table for configuration entries.

Example SQL query to remove extension-specific entries:
DELETE FROM core_config_data WHERE path LIKE 'w3speedster/%';

Clear Cache

Clear the Magento cache to ensure no references to the extension remain:
php bin/magento cache:clean
php bin/magento cache:flush

Verify Uninstallation

Check the Module Status:
php bin/magento module:status

Ensure the W3Speedster_W3Speedster module is no longer listed.
Test the Application:

  • Verify that your Magento store is functioning correctly.
  • Ensure there are no errors related to the W3Speedster module.

The post Uninstalling W3Speedster appeared first on W3Speedster.

]]>
W3speedster exclude page from JS optimization https://w3speedster.com/w3speedster_doc/w3speedster-documentation/plugin-hooks/56052-2/ Mon, 02 Dec 2024 11:53:12 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56052 Function: w3ExcludePagefromJsOptimization Description: W3Speedster allows you to exclude the pages from the JS Optimization. if you wish to exclude your pages from JS optimization. (like cart/login pages). Parameter: $html = Page viewsources content. Return: True – it will exclude the page from optimization. False – it will not exclude the page from optimization. function w3ExcludePagefromJsOptimization($html){ [...]

Read More...

The post W3speedster exclude page from JS optimization appeared first on W3Speedster.

]]>
Function: w3ExcludePagefromJsOptimization
Description: W3Speedster allows you to exclude the pages from the JS Optimization. if you wish to exclude your pages from JS optimization. (like cart/login pages).
Parameter: $html = Page viewsources content.
Return: True – it will exclude the page from optimization.
False – it will not exclude the page from optimization.

function w3ExcludePagefromJsOptimization($html){
    if(strpos($html,'/*content*/') !== false{
         return true;
    }
    return false;
}

The post W3speedster exclude page from JS optimization appeared first on W3Speedster.

]]>
W3speedster exclude from page CSS optimization https://w3speedster.com/w3speedster_doc/w3speedster-documentation/plugin-hooks/w3speedster-exclude-from-page-css-optimization/ Mon, 02 Dec 2024 11:51:56 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56050 Function: w3ExcludePagefromCssOptimization Description: W3Speedster allows you to exclude the pages from the CSS Optimization. if you wish to exclude your pages from CSS optimization. (like cart/login pages). Parameter: $html = Page viewsources content. Return: True – it will exclude the page from optimization. False – it will not exclude the page from optimization. function w3ExcludePagefromCssOptimization($html){ [...]

Read More...

The post W3speedster exclude from page CSS optimization appeared first on W3Speedster.

]]>
Function: w3ExcludePagefromCssOptimization
Description: W3Speedster allows you to exclude the pages from the CSS Optimization. if you wish to exclude your pages from CSS optimization. (like cart/login pages).
Parameter: $html = Page viewsources content.
Return: True – it will exclude the page from optimization.
False – it will not exclude the page from optimization.

function w3ExcludePagefromCssOptimization($html){
    if(strpos($html,'/*content*/') !== false{
         return true;
    }
    return false;
}

The post W3speedster exclude from page CSS optimization appeared first on W3Speedster.

]]>
Load Combined Javascript https://w3speedster.com/w3speedster_doc/w3speedster-documentation/javascript-optimization/load-combined-javascript/ Mon, 02 Dec 2024 11:45:27 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56048 Load the minified and combined js ‘on page load’ or ‘after page load’. Use after page load to score better on google page speed insights or other speed tools. However please use the ‘after page load’ option very carefully. [...]

Read More...

The post Load Combined Javascript appeared first on W3Speedster.

]]>
Load the minified and combined js ‘on page load’ or ‘after page load’. Use after page load to score better on google page speed insights or other speed tools. However please use the ‘after page load’ option very carefully.

The post Load Combined Javascript appeared first on W3Speedster.

]]>
Enable Video lazy Load https://w3speedster.com/w3speedster_doc/w3speedster-documentation/image-optimization/enable-video-lazy-load/ Mon, 02 Dec 2024 11:43:45 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56046 Enable lazy loading for videos using the W3Speedster Plugin. This feature loads video content only when it becomes necessary, helping to speed up your site’s initial load time and provide a better performance overall. [...]

Read More...

The post Enable Video lazy Load appeared first on W3Speedster.

]]>
Enable lazy loading for videos using the W3Speedster Plugin. This feature loads video content only when it becomes necessary, helping to speed up your site’s initial load time and provide a better performance overall.

The post Enable Video lazy Load appeared first on W3Speedster.

]]>
Enable Iframe lazy Load https://w3speedster.com/w3speedster_doc/w3speedster-documentation/image-optimization/enable-iframe-lazy-load/ Mon, 02 Dec 2024 11:43:04 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56044 With the W3Speedster Plugin, you can also enable lazy loading for iframes. By delaying the loading of iframes until they are needed, your site can load faster, offering a smoother and more efficient user experience. [...]

Read More...

The post Enable Iframe lazy Load appeared first on W3Speedster.

]]>
With the W3Speedster Plugin, you can also enable lazy loading for iframes. By delaying the loading of iframes until they are needed, your site can load faster, offering a smoother and more efficient user experience.

The post Enable Iframe lazy Load appeared first on W3Speedster.

]]>
Enable Image lazy Load https://w3speedster.com/w3speedster_doc/w3speedster-documentation/image-optimization/enable-image-lazy-load/ Mon, 02 Dec 2024 11:42:21 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56042 The W3Speedster Plugin allows you to enable lazy loading for images. This feature ensures that images are loaded only as they come into the user’s viewport, significantly improving your site’s performance and reducing initial load times. [...]

Read More...

The post Enable Image lazy Load appeared first on W3Speedster.

]]>
The W3Speedster Plugin allows you to enable lazy loading for images. This feature ensures that images are loaded only as they come into the user’s viewport, significantly improving your site’s performance and reducing initial load times.

The post Enable Image lazy Load appeared first on W3Speedster.

]]>
Enable PNG Webp support https://w3speedster.com/w3speedster_doc/w3speedster-documentation/image-optimization/enable-png-webp-support/ Mon, 02 Dec 2024 11:38:44 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56039 This feature will convert and render your PNG images in the WebP format. To use it, make sure to start image optimization in the Image Optimization tab. The W3Speedster Plugin will handle the optimization for all PNG images, enhancing your site’s performance [...]

Read More...

The post Enable PNG Webp support appeared first on W3Speedster.

]]>
This feature will convert and render your PNG images in the WebP format. To use it, make sure to start image optimization in the Image Optimization tab. The W3Speedster Plugin will handle the optimization for all PNG images, enhancing your site’s performance

The post Enable PNG Webp support appeared first on W3Speedster.

]]>
Enable JPG Webp support https://w3speedster.com/w3speedster_doc/w3speedster-documentation/image-optimization/enable-jpg-webp-support/ Mon, 02 Dec 2024 11:38:05 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56037 This feature will convert and render your JPG images in the WebP format. To use it, make sure to start image optimization in the Image Optimization tab. The W3Speedster Plugin will handle the optimization for all JPG images, enhancing your site’s performance [...]

Read More...

The post Enable JPG Webp support appeared first on W3Speedster.

]]>
This feature will convert and render your JPG images in the WebP format. To use it, make sure to start image optimization in the Image Optimization tab. The W3Speedster Plugin will handle the optimization for all JPG images, enhancing your site’s performance

The post Enable JPG Webp support appeared first on W3Speedster.

]]>
Installation W3Speedster https://w3speedster.com/w3speedster_doc/w3speedster-documentation/introduction/installation-w3speedster/ Mon, 02 Dec 2024 08:23:04 +0000 https://w3speedster.com/?post_type=w3speedster_doc&p=56030 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 [...]

Read More...

The post Installation W3Speedster appeared first on 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.

Installation Process
Once you upload your Magento extension, you’ll now have to run the below commands through the terminal in the extension root directory.

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

php bin/magento cache:clean

php bin/magento cache:flush 

Now you are ready to enjoy your licensed w3speedster Magento extension.
Configuration

Follow the extension settings using our guide:

The post Installation W3Speedster appeared first on W3Speedster.

]]>