Disabling Caching During Site Development on Magento March 15, 2011Posted by Tournas Dimitrios in Magento.
When you create a on-line store with Magento , behind the scenes this framework creates thousands of files organised on a complex directory structure (another article will outline this structure) . Viewing a page created from Magento , is a result of assembling many different files and displaying then together . Assembling a page takes time and processing power . To overcome this workload , Magento holds pages that it displays , in a separate storage area called cache. When the next request arrives on the server for the same page that was delivered previously , Magento retrieves the page from its cache . This is faster than assembling the page again , reducing the load on the server . During configuration of Magnto’s layout , this cache-ing mechanism can be frustrating , because Magento probably delivers you a pre cached page , so you won’t see the changes you have implemented . In order to do this , you need to disable Magento’s caching system .
Disabling the caching mechanism on Magento is realy simple :
- From the Admin interface , select System| Cache Management
- You can select which types of information Magento will cache . However , when performing the basic customization on your Magento’s layout , it is usually easiest to enable and disable all of them at once .
- From the drop-down menu next to All Cache , select Disable or Enable .
- Click on the Save cache settings button .
- Refresh the page that you are testing .