A lightweight module to allow bypassing the built-in page cache with an HTTP parameter.
This is especially useful if you want to do some profiling with Blackfire where you can't
afford to disable the page cache.
composer require emakinafr/magento2-pagecache-bypass
bin/magento setup:upgrade
The name of the HTTP parameter used to bypass the built-in page cache can be configured in back-office through:
Stores > Configuration > Advanced > Developer > PageCache Bypass by Emakina.
This module does not change the default behavior if you do not pass the bypass parameter.
# The Magento built-in page cache is still used.
https://magento2.localhost/
# The Magento built-in page cache is bypassed.
https://magento2.localhost/?pagecache_bypass
Contributions, issues and feature requests are welcome!
By the way, don't forget you can give a ⭐️ if this project helped you!
Copyright © Emakina. This project is licensed under the MIT license.