Command Line Interface

Usage: php -f bin/magento [options]

  • Run a Google PageSpeed test for the given page:
        bin/magento mirasvit:optimize-insight:pagespeed https://example.com/
  • Validate the software required for image optimization:
        bin/magento mirasvit:optimize-image:validate
  • Run the image optimization process:
        bin/magento mirasvit:optimize-image:optimize  

    Note: the Extension can also automatically optimize images in the cron

  • Run the restore command to the original image process:
        bin/magento mirasvit:optimize-image:restore  

    Note: the Extension can also automatically restore images in the cron, reccomending that you set Image Quality level = 100% before running this command

  • Run the procedure for creating a copy of images in .webp format
        bin/magento mirasvit:optimize-image:webp

    Note: the Extension can also automatically create .webp images in the cron