Type
magento2-module
Peakhour module for Magento 2.4.x
magento2-module
BSD-3-Clause
None
None
None
None
None
Congratulations on choosing Peakhour to accelerate your Magento 2 store. The Peakhour_Cdn extension uses Magento's built in page caching functionality to list Peakhour.io as a full page cache option. This enables greatly simplified full page caching with Peakhour and automated flushing of Peakhour's global cache when editing content through the Magento admin.
Before installing make a backup of your Magento site as a precaution. If you have a development environment it is strongly recommended that you install the plugin there first to test and confirm functionality.
You will need a Peakhour account to be able to utilise this plugin. If you don't already have one you can sign up here, pricing is based on page views and all new signups get a free trial. Once you have your account the only other change you need to make to activate our acceleration and web application firewall is a DNS change. Do not enable the plugin until you have successfully configured your domain behind the Peakhour service.
This is only available for Magento 2.2.x and greater, see the official magento doc page
This will be done via command line on your Magento server. You will have to make sure you have composer installed.
php composer.phar require peakhour/magento2
php bin/magento module:enable Peakhour_Cdn
php bin/magento setup:upgrade
php bin/magento cache:clean
Then you can log in to the Magento admin and finish configuration.
app/code/Peakhour/Cdn
php bin/magento module:status
and make sure Peakhour is listedphp bin/magento module:enable Peakhour_Cdn
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento module:disable Peakhour_Cdn
and clean caches php bin/magento cache:clean