Cant exclude hook from cache

I have to adapt a module so that I don't cache it. I'm doing a very simple test, a custom hook that prints something to the screen with an echo.
There is no way I can't cache it, what should I do?


Can you exclude the cache of a controller override?



Staff member
There is no sample for it since only experienced Prestashop developer can do it and also need to analyze the the module/template code (not LSCPS code) to adjust.
Hi were you able to exclude the code from the cache? I am looking to exclude the price from the caching as this can be different for different customers (based on their location/VAT rate)