Main Menu
Contact
Popular Plugins
Sign In

In the config array, you can set a new key "cache" to set some caching options.

"cache"     => [
	"block_record"                      => false,
	"block_output_on_post"              => false,
	"block_output_for_registered_users" => false,
	"block_output"                      => false,
	"block_output_lifetime"             => 0,
],

Below you will see each of these caching options explained. I'd also like to refer to the original concrete5 documentation for the Block Type PHP Controller.

block_record

Defaults to true. When block caching is enabled, this means that the block's database record data will also be cached. This can almost always be set to true.

block_output_on_post

Defaults to false. This determines whether a block will cache its output on POST. Some blocks can cache their output but must serve uncached output on POST in order to show error messages, etc…

block_output_for_registered_users

Defaults to false. Determines whether a block that can cache its output will continue to cache its output even if the current user viewing it is logged in.

block_output

Defaults to false. When block caching is enabled, enabling this boolean means that the output of the block will be saved and delivered without rendering the view() function or hitting the database at all.

block_output_lifetime

Defaults to no time limit (0). When block caching is enabled and output caching is enabled for a block, this is the value in seconds that the cache will last before being refreshed.

Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $35.70
Add to Concrete5 Cart

Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $142.80
  • Save an extra: $119.00
Add to Concrete5 Cart

Use, by you or a client, in x/xx single end products.

Upon request, quote will be made and sent to you via email.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Saves extra $$
Request Quote
Released 6 years ago
Updated 1 year ago
Installs 3
Requires concrete5 5.7.5.3
Current version 1.4.5
Skill level Bleeding Edge

Buyer Rating:

5 average based on 3 ratings More information

Got something to say? Need help?

View support forum