How to Clean Magento Cache Properly

Share
Posted on May 9th, 2013 | Posted by admin

One of the most important tasks you need to remember after each major change (and before Magento upgrade) is to clean up your Magento cache.

  1. Login to Admin Panel
  2. Go to System Cache Management
  3. Select all Cache Types, choose Refresh from the Action dropdown and click on Submit button
  4. Click on Flush Magento Cache
  5. Click on Flush Cache Storage
  6. Click on Flush Catalog Images Cache
  7. Click on Flush JavaScript/CSS Cache

How To Refresh Cache And Rebuild Indexes In Magento Automatically?

Share
Posted on February 13th, 2013 | Posted by admin

This code snippet contains some code excerpts from this thread in magento forums.

01 <?php
02 require_once 'app/Mage.php';
03 ini_set('display_errors', 1);
04 umask(0);
05 Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
06
07 refreshCache();
08
09 function refreshCache()
10 {
11 print( 'Refreshing cache<br/><br/>' );
12 try {

Advantage and Disadvantage of different kind of magento backend cache mechanism

Share
Posted on January 17th, 2013 | Posted by admin

Below are the list of few type of cache that is mainly used with magento website

File System (Var/cache) Cache: This is the default cache available with magento itself . By this magento stores the cache data under Var/cache folder. As per previous article magento created different kind of tag group and associate cache data into that tag group.

Advantage of File System Cache:
its by default so doesn’t need to install anything
Disadvantage of File System Cache:
Because it uses cache data in file system then if site has huge traffice or huge data for which it require huge cache data to be stored into file then it will make the system slower

HOW DOES MAGENTO FULL PAGE CACHE WORK

Share
Posted on November 13th, 2012 | Posted by admin

Let’s decipher Magento full page cache and see how it works

We are going to try to explain how Magento full page cache works by looking at the code, it’d be cool if we’d have talked with some of the folks at Magento to get a better information but hey you should always trust xdebug over humans’ words, right?

Our approach is very simple, look at the workflow and try to translate it into words. So we are doing some reverse engineering here… take the code and explain the logic back.

Why write about Magento’s full page cache?

Two of the most requested articles I have been asked to write so far have been about magento’s full page cache and Magento’s SEO.

Today we are going to try to tackle the former and hope to get 2 things out of it:

  1. Magento’s Full Page Cache: how does it work and…
  2. How you can write your own module to handle Full Page Caching.

This article is pretty ambitious and we may need to write a follow up to crush all doubts. Don’t hesitate to use the comment section or twitter for clarification.

How to delete Magento Cache by FTP

Share
Posted on February 4th, 2012 | Posted by admin

Sometimes Magento can return unexpected errors after installing extensions or some code changes.

If you can no longer access to your site delete everything inside:

/var/cache

Page 1 of 212»