Magento

Using MagePack to Speed Magento 2 JS Delivery

Pinterest LinkedIn Tumblr

MageSuite Magepack
Setup and install Magepack for Magento 2.4.x

Install node
    sudo apt update
    sudo apt install nodejs
    node -v
    sudo apt install npm

    magepack bundle

    magepack generate --cms-url="https://websiteurl.com" --category-url="hhttps://websiteurl.com/ta-cable-tie-mounts.html" --product-url="https://websiteurl.com/662908-662908.html"

    sudo chmod -R 0777 var/ generated/ pub/static
    magepack bundle
    magepack generate --cms-url="https://websiteurl.com" --category-url="https://websiteurl.com/ta-cable-tie-mounts.html" --product-url="https://websiteurl.com/cable-tie-mounts-766086b.html"

    bin/magento cache:clean

    php bin/magento indexer:reindex
    php bin/magento cache:clean

Reference: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04

Reference: https://github.com/magesuite/magepack
Reference: https://developers.google.com/speed/pagespeed/module

Write A Comment

Faster PHP Cloud Hosting