Jump to content
thirty bees forum

Feature request: Exclude URL patterns from full page cache


Recommended Posts


It would be nice if it was possible to exclude some URL patterns from the full page cache.

I have had a few modules that refused to work even with dynamic hooks, so i had to disable them in the controller->run method

Like this:

        if (stripos($_SERVER['REQUEST_URI'], 'gift-cards/gift-card') !== false) {
            unset($cacheableControllers[array_search('product', $cacheableControllers)]);

The comment on the method says "this method should not be overridden!" so right now I'm stuck with editing the core.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...