I am newbie to Magento. I'm learning to create my first module but I'm confused whether it's necessary to disable the cache or not.
If yes, please tell me how? Thanks,
Yes, it's necessary because:
When one store magento is created, all the data are availably GEN. So if we don't delete or change or disable the old GEN, your system will read the old GEN and nothing changes to your store.
To learn how to disable cache before creating the first magento module. Take it as reference: http://www.mage-world.com/blog/lesson-1-guiding-to-create-the-first-module.html
Note: You did not "need to disable the cache before creating module". But after uploading this module it didn't have "immediate effect till you have flushed magento cache". Well, this is because magento manages xml and phtml files using its caching system. So you need to cache clear after creating a module in magento.
Magento generally has config,layout,block_html,translate types cached it's cached from xml and phtml files. So you need to clear cache
In Magento we have the following cache types:
1. Configuration (non-layout XML files)
2. Layouts
3. Blocks HTML output (Page blocks like headers, footers and callouts)
4. Translations
5. Collections Data
6. EAV types and attributes
7. Web Services Configuration
Note:
If you have made any changes in phtml and xml files, eav attibute & collection models etc. on a cache enabled system then you need to flush cache to see the effect of their changes.
this
) and regular text. It makes it very difficult to read and it serves no purpose.
It is not necessary but if you can disable then it will help you to develop application faster.
If you are developing phase of your project then you to do this thinks keep in mind.
Disable Cache. Y?
Because The main use of cache is when you go live for your site and it will render data as fast as possible for that we are using cache. when you developing your site then it's very tedious like each time you change then you must refresh the cache as @Amit said Magento Store All configuration
, Layouts
, Blocks HTML Output
, Translations
etc.
So once your site is ready with testing then you can enable cache and deliver to your client. but My suggestion is that when you are in developing phase then you must disable Cache.