Skip to content

Magento Extension that will allow to cache CMS Blocks aka Static Blocks

License

Notifications You must be signed in to change notification settings

joazvsoares/Rkt_SbCache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rkt_SbCache - Magento Extension

Magento Extension that will allow to cache CMS Blocks aka Static Blocks

Description

By default, Magento is not cacheing CMS Blocks. But in almost all stores, there is a huge chance to use a bunch of CMS Blocks. So cacheing static blocks become important in that case for better page load performance.

This module will fill this gap. This module enable us to cache static blocks uniquely. That is for each static blocks, this will use a unique cache key. Default cache time is set to the default cache life time of Magento (ie 2 hrs).

Theory

This module register an observer for the event core_block_abstract_to_html_before and through this observer, if a static block is present, it will generate a unique cahche key for that block.

Advantages

  • No core hack
  • No rewrites

Support

If you encounter any problems or bugs, please create an issue on GitHub.

Contribution

Any contribution is highly welcome. The best possibility to provide any code is to open a pull request on GitHub.

About

Magento Extension that will allow to cache CMS Blocks aka Static Blocks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%