The Magento Mage_Cache_Backend_File backend gives some holidays for your inodes

Magento allows to customize the way your website manages its cache. This is done by choosing the appropriate cache backend. I’ve provided an example of this update for the full page cache here

By default, your cache will save cached content into files, due to a cache backend existing in both Magento community and enterprise editions, based upon the Zend_Cache_Backend_File, that saves cached content into files

Magento EE 1.13 comes with a new cache storage: Mage_Cache_Backend_File. This backend is an extension of the native cache backend Zend_Cache_File with some improvements regarding performances: Let’s see what is good inside and if we can use it yet

Continue reading “The Magento Mage_Cache_Backend_File backend gives some holidays for your inodes”

Support for cache tags for all cache engines in the Magento enterprise version 1.13

Did you follow the Magento news, you probably heard that Magento Enterprise version 1.13 completely moved the indexer’s logic to the database server.

This for sure leads to a significant increase in your performance.

But are the indexers the only explanation for those better performances? No: there is a few other things involved in this upgrade: one of these is the support of the cache tags for all cache backends.

Continue reading “Support for cache tags for all cache engines in the Magento enterprise version 1.13”

Enhance Magento enterprise full page cache performance by updating its storage backend

Magento enterprise supports since the 1.7 version the full page cache module: instead of storing only each block content in cache, this is the full page content that’s stored in cache

Everybody agrees this is a really performance enhancement

Like the native cache, storing these datas in a file is not the fastest way and becomes a problem when you need to share it between each front. How can we customize it?

The full_page_cache configuration node in the Magento enterprise.xml file

History of the full page cache configuration in the Magento enterprise versions

Until 1.11.0.0, there was no node to configure the full page cache option in the default Magento enterprise configuration files.

Since 1.11.0.0, you have seen a new node appearing in the app/etc/enterprise.xml file:

<config>
    <global> 
        <full_page_cache>
            <backend_options>
                <cache_dir>full_page_cache&</cache_dir>
           </backend_options>
        </full_page_cache>
   </global> 
</config>

This new node allows to customize the cache directory folder where the cache content will be located

Customize your full page cache configuration

Everywhere on the net you can find ways to enhance performance of the Magento cache storage engine by customizing the following configuration node

<config>
<global>
<cache>
...
</cache>
</global>
</config>

As with the config > global > cache node, the full page cache node works exactly: all nodes you’ll specify under will configure how full page cache works. For example, The following node defines the usage of memcached as cache storage engine for the full page cache content

<config>
<global>
<full_page_cache>
            <backend>memcached</backend>
            <slow_backend>database</slow_backend>
            <memcached>
                <servers>
                    <server>
                        <host><![CDATA[127.0.0.1]]></host>
                        <port><![CDATA[11211]]></port>
                        <persistent><![CDATA[0]]></persistent>
                        <weight><![CDATA[2]]></weight>
                        <timeout><![CDATA[10]]></timeout>
                        <retry_interval><![CDATA[10]]></retry_interval>
                        <status><![CDATA[1]]></status>
                    </server>
                </servers>
            </memcached>
        </full_page_cache>
</global>
</config>

Can the full_page_cache node be used within Magento enterprises version prior 1.11?

Yes. Even if this node was initialized in 1.11, all prior versions look for full page cache configuration in this node. So you can also customize your full page cache in all Magento enterprise versions which embeds full page cache module

Don’t forget to customize the full page cache management

As you can see, the two nodes config > global > cache and config > global > full_page_cache are strictly independent: you can provide two different ways to manage cache between Zend cache api and full page cache: we often see that there is cache backend configuration, but do it also for the full page cache

Magento modules versions

If you produce some modules for Magento connect, you have perhaps test your modules under differents releases.

In major and minor upgrades, you know that there is some upgrade in code source and so, if you want to have only one module version instead of using branchs, you must test in which case you are.

I’ve made here a summary of available module versions defined from 1.3 to current version (1.5 when I wrote this post), and for the related enterprise versions.

Magento core module versions summary

CE 1.3.2.4
CE 1.3.3.0
CE 1.4.0.1
CE 1.4.1.0
CE 1.4.1.1
CE 1.4.2.0
CE 1.5.0.1
CE 1.5.1.0
EE 1.6.0.0
EE 1.7.0.0
EE 1.8.0.0
EE 1.9.0.0
EE 1.9.1.1
EE 1.10.0.1
EE 1.10.0.2
EE 1.10.1.1
EE 1.11.0.0
Enterprise_AdminGws
Enterprise_Banner
Enterprise_CatalogEvent
Enterprise_CatalogPermissions
Enterprise_Cms
Enterprise_CustomerBalance
Enterprise_CustomerSegment
Enterprise_Checkout
Enterprise_Customer
Enterprise_Eav
Enterprise_Enterprise
Enterprise_GiftCard
Enterprise_GiftCardAccount
Enterprise_Giftregistry
Enterprise_GiftWrapping
Enterprise_ImportExport
Enterprise_Invitation
Enterprise_License
Enterprise_Logging
Enterprise_PageCache
Enterprise_Pci
Enterprise_Persistent
Enterprise_PricePermissions
Enterprise_PromotionPermissions
Enterprise_Reminder
Enterprise_Reward
Enterprise_Rma
Enterprise_SalesArchive
Enterprise_Search
Enterprise_Staging
Enterprise_Targetrule
Enterprise_Pbr/idge
Enterprise_WebsiteRestriction
Mage_Admin
Mage_Adminhtml
Mage_AdminNotification
Mage_AmazonPayments
Mage_Api
Mage_Authorizenet
Mage_Backup
Mage_Bundle
Mage_Catalog
Mage_CatalogIndex
Mage_CatalogInventory
Mage_CatalogRule
Mage_CatalogSearch
Mage_Centinel
Mage_Checkout
Mage_Cms
Mage_Compiler
Mage_Connect
Mage_Contacts
Mage_Core
Mage_Cron
Mage_Customer
Mage_Dataflow
Mage_Directory
Mage_Downloadable
Mage_Eav
Mage_Giftcert
Mage_GiftMessage
Mage_Giftregistry
Mage_GoogleAnalytics
Mage_GoogleBase
Mage_GoogleCheckout
Mage_GoogleOptimizer
Mage_ImportExport
Mage_Index
Mage_Install
Mage_Log
Mage_Media
Mage_Newsletter
Mage_Ogone
Mage_PageCache
Mage_Page
Mage_Paygate
Mage_Payment
Mage_Paypal
Mage_PaypalUk
Mage_Persistent
Mage_Poll
Mage_ProductAlert
Mage_Rating
Mage_Reports
Mage_Review
Mage_Rule
Mage_Rss
Mage_Sales
Mage_SalesRule
Mage_Sendfriend
Mage_Shipping
Mage_Sitemap
Mage_Tag
Mage_Tax
Mage_Usa
Mage_Widget
Mage_XmlConnect
Mage_Weee
Mage_Wishlist
        0.0.11.11.0.0
        1.6.0.0.41.11.0.0
        0.0.61.11.0.0
        0.0.80.0.91.11.0.0
        1.6.0.0.41.6.0.0.91.11.0.0
        0.0.111.11.0.0
        0.0.81.6.0.01.6.0.0.11.11.0.0.2
1.8.0.0.01.11.0.0
           0.1.10.1.21.11.0.0
1.11.0.0
        0.0.21.11.0.0
        0.0.80.0.91.11.0.0
        0.0.131.11.0.0
           1.9.0.0.41.9.0.0.51.11.0.0
1.10.0.0.81.11.0.0
1.11.0.1
        0.0.31.11.0.0
1.7.0.0.01.11.0.0
        0.2.20.2.31.11.0.0
         1.6.0.0.01.11.0.0
        0.0.30.0.41.11.0.0
1.0.0.0
1.11.0.0
1.11.0.0
1.8.0.0.01.11.0.0
         1.7.0.0.141.7.0.0.151.11.0.0
1.11.0.8
1.7.0.01.11.0.0
1.8.0.0.01.8.0.0.21.11.0.0
        0.1.151.11.0.0.1
        1.6.0.0.11.6.0.0.21.6.0.0.31.6.0.0.41.11.0.0
           1.8.0.0.0
        0.0.11.11.0.0
0.7.10.7.21.6.0.0
0.7.1
1.0.01.6.0.0
0.1.20.1.21.6.0.0
0.8.11.6.0.0
0.0.10.0.11.5.0.0
0.7.01.6.0.0
0.1.70.1.110.1.120.1.130.1.140.1.100.1.110.1.120.1.130.1.141.6.0.0
0.7.691.4.0.0.211.4.0.0.281.4.0.0.381.4.0.0.431.4.0.0.441.4.0.0.141.4.0.0.181.4.0.0.261.4.0.0.331.4.0.0.381.4.0.0.431.4.0.0.441.6.0.0.5
0.7.101.6.0.0
0.7.50.7.80.7.50.7.81.6.0.0
0.7.70.7.80.7.100.7.80.7.101.6.0.0
0.7.60.7.71.6.0.0
 1.4.0.0.0  1.4.0.0.01.6.0.0
0.9.30.9.50.9.40.9.51.6.0.0
0.7.80.7.130.7.120.7.131.6.0.0
0.1.01.6.0.0
1.4.01.4.01.6.0.0
0.8.01.6.0.0
0.8.130.8.260.8.270.8.280.8.140.8.250.8.260.8.270.8.281.6.0.1
0.7.11.6.0.0
0.8.111.4.0.0.61.4.0.0.71.4.0.0.131.4.0.0.141.4.0.0.41.4.0.0.61.4.0.0.71.4.0.0.121.4.0.0.131.4.0.0.141.6.0.0
0.7.41.6.0.0
0.8.50.8.100.8.110.8.80.8.100.8.111.6.0.0
0.1.140.1.161.4.0.11.4.0.21.4.0.30.1.161.4.0.11.4.0.21.4.0.31.6.0.0.1
0.7.130.7.150.7.160.7.150.7.161.6.0.0
0.7.0
0.7.20.7.60.7.20.7.61.6.0.0
0.1.00.1.0
0.7.01.6.0.0
0.1.10.1.20.1.10.1.21.6.0.0
0.7.30.7.40.7.30.7.41.6.0.0
0.1.21.6.0.0
0.1.00.1.01.6.0.2
  1.4.0.21.6.0.0
0.7.0
0.7.60.7.71.6.0.0
0.7.01.6.0.0
0.8.00.8.20.8.30.8.10.8.20.8.31.6.0.0
         0.0.1 0.0.1 1.6.0.0
1.5.0.0.0         
0.7.01.6.0.0
0.7.00.7.11.6.0.0
0.7.01.6.0.0
0.7.20.7.41.4.0.11.4.0.20.7.20.7.41.4.0.01.4.0.11.4.0.21.6.0.0
0.7.01.6.0.0
1.0.0.0
0.7.21.6.0.0
0.7.21.6.0.0
0.7.21.6.0.0
0.7.70.7.101.6.0.0
0.7.40.7.60.7.50.7.61.6.0.0
0.7.01.6.0.0
0.8.01.6.0.0
0.9.380.9.390.9.561.4.0.151.4.0.211.4.0.250.9.440.9.561.4.0.81.4.0.171.4.0.21.4.0.251.6.0.3
0.7.70.7.121.4.0.0.41.4.0.0.60.7.90.7.121.4.0.0.41.4.0.0.61.6.0.0
0.7.20.7.40.7.30.7.41.6.0.0
0.7.01.6.0.0
0.7.21.6.0.0
0.7.20.7.50.7.70.7.30.7.50.7.71.6.0.0
0.7.80.7.111.4.0.01.4.0.10.7.100.7.111.4.0.01.4.0.11.6.0.0
0.7.00.7.11.6.0.1
  1.4.0.0.01.6.0.0
1.4.0.131.4.0.131.6.0.0
0.131.6.0.0
0.7.40.7.70.7.80.7.90.7.50.7.70.7.80.7.91.6.0.0

Magento module versions usage

In previous Magento versions, there was some source code updates but no update in module version. So use module version carrefully

I'll upgrade this listing frequently