How to cache cms block in magento for session and non-session visits?

For the Magento corporate site, I have a CMS page (home page) that includes a specific block of code "my-products.phtml" using the following method in the contents of the CMS page:

{{block type="catalog/product_list" template="catalog/product/my-products.phtml"}}

The problem is that this block is really very slow and needs to be cached. The containing CMS page is cached for non-session visitors, but as soon as the user logs in, the page and the included block are not cached at all.

There is no session-specific code in the block, so I wonder how to make sure it is cached even when the user logs in?

+3
source share
1 answer

Mage_Catalog_Block_Product_List , "yourmodule/product_list" "catalog/product_list".

, , - , , .

+1

All Articles