-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed "MAGE" cache tag #3246
Removed "MAGE" cache tag #3246
Conversation
Ideally they are associated with a cache type, I'd say either config (Mage_Core_Model_Config::CACHE_TAG) or collections (Mage_Core_Model_Resource_Db_Collection_Abstract::CACHE_TAG) or add a new tag or cache type.
Personally I think foreach ($this->getTypes() as $type => $flag) {
$this->cleanType($type);
} |
…ract::CACHE_TAG as cache tag
all done, thanks @colinmollenhour as usual! I think this is ready for review now |
Merged latest into #3248 and see ...
|
can't reproduce this problem with "main" and developer_mode on, how do you find it? |
Not at home atm ... run
|
true, PR coming in 3 seconds |
This PR implements the suggestions discussed in #1226 and fixes it.
The MAGE cache tag is only used in order to be able to flush all cache without actually flushing the whole cache storage and since sharing the cache storage with another project/software/whatever would be a very bad practice, we can think about safely remove it.
Removing it will allow for less cache storage space usage and less data to process.
Questions that need to be answered 1
magento-lts/app/code/core/Mage/Admin/Model/Resource/Variable.php
Lines 31 to 43 in e464b27
This method only uses Mage_Core_Model_App::CACHE_TAG as cache tag, what are we doing with that method?
Questions that need to be answered 2
magento-lts/app/code/core/Mage/Admin/Model/Resource/Block.php
Lines 59 to 75 in e464b27
same thing as before
Questions that need to be answered 3
magento-lts/app/code/core/Mage/Core/Model/Cache.php
Lines 421 to 434 in e464b27
do we just replace this method with the flush() method?
Fixed Issues