Feature request: Exclude URL patterns from full page cache



  • Hello

    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.


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.