Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block pascut

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pascut / Block.php
Last active Mar 30, 2019
Temporary 'fix' for static block caching issue in Magento (app/code/local/Mage/Cms/Block/Block.php)
View Block.php
* ***************ATTENTION***************************************
* This is the temporary fix for the Magento bug
* See
* The only change from app/code/core/Mage/Cms/Block/Block.php
* is that the getCacheKeyInfo() function below is changed, I
* concatenated a string that contains the page url and the block id
* In this way the result will be unique each time.
* ****************************************************************
You can’t perform that action at this time.