Sometimes blocks don't work well if you run Concrete5's cache on them. Imagine the state of a block changes somehow, you may not want this to cache and appear differently to it's default state.
To disable block caching for a Concrete5 block, simply open the blocks controller.php and amend/add the following lines:
rotected $btCacheBlockRecord = false;
protected $btCacheBlockOutput = false;
protected $btCacheBlockOutputOnPost = false;
protected $btCacheBlockOutputForRegisteredUsers = false;
Want to have your say on this topic? Start by posting your comment below...
08 October 2024
01 October 2024
24 September 2024
We are a digital agency specialising in Web Design, Development, Concrete5 and digital marketing, based in London & West Sussex.
We make digital simple. Our purpose is to simplify your frustrations in digital and solve the challenges you face to help make you more money and progressively grow your business or organisation.
Tell me moreKeep up to date