-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The result of this module seems allow design exceptions to be used however it prevents 100% of FPC hits making the easier option being just to disable FPC all together.
If you look in app/etc/enterprise.xml Enterprise_Pacgecache_Model_Processor is statically typed within the cache request_processors which is then passed into Mage_Core_Model_Cache this Model is then created as a new object within Mage_Core_Model_Cache::processRequest() Mage_Core_Model_Cache::_getProcessor($processor).
When the new processor object is created it calls $this->_createRequestIds(); within Enterprise_PageCache_Model_Processor bypassing the Rewrite you have in place but then continues with the cache miss to load the page without FPC.
The DevBlog_MobileFpcFix_Model_Processor::_createRequestIds() is only triggered on the creation of the FPC Cachefile. Which follows the cache miss (every request) and creates the illusion of a working process.
It's frustrating that magento doesn't even cover their own base functionality within the FPC module. I'm currently looking into the best way to get around this, simply changing the ee request_processor isn't enough (generates a 404 with a quick test).
Within Enterprise_PageCache_Model_Processor::_getDesignPackage() the following line looks like it should handle design exceptions (but obviously doesn't)
$this->_designExceptionExistsInCache = $cacheInstance->getFrontend()->test(self::DESIGN_EXCEPTION_KEY);
The issue is still persistent in 1.13, I've not checked 1.14