How can I disable or bypass FPC for a single page? I don’t want to use hole-punching as there are several blocks on the page that I need to be dynamic and I would rather modify one config/class to specify that the entire page should not be cached (similar to the behavior of checkout).
My understanding of FPC was that it was not used for “session users” (logged in, added to cart, etc…). However, I’m seeing FPC affect pages when a user is logged in. If I disable FPC, then the page works as desired.
Here is the solution for disabling FPC for a specific controller (could be extended to specific action as well).
First create an Observer to listen on the
controller_action_predispatchevent:Then add the following to your
config.xmlfile for the module. This goes in the<frontend>section:Now Magento will serve up your page every time and bypass FPC for the request.