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 Concrete CMS 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;
Go here for more information about Concrete CMS caching.
Want to have your say on this topic? Start by posting your comment below...
Can we help?
We are a digital agency, specialising in web design, development, hosting and digital marketing. If you need help with anything, feel free to reach out...
04 March 2025
24 February 2025
Keep up to date