Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.5 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.5 KB

Magento - PageCache Bypass

Magento version MIT License Made by Emakina

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.

📦 Installation

composer require emakinafr/magento2-pagecache-bypass
bin/magento setup:upgrade

⚙ Configuration

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.

🚀 Usage

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

🤝 Contributing

Contributions, issues and feature requests are welcome!
By the way, don't forget you can give a ⭐️ if this project helped you!

📝 License

Copyright © Emakina. This project is licensed under the MIT license.