Cache OFF: where's the cache and what is it?

Hi All,

Almost every time when customers are coming to me with their problem like "your module doesn't work, refund my money!" the problem appears in their site cache system: 80% of customers don't even know what is it, where is it and how to use it. By cleaning cache everything starts working in 99% of cases. But by this time you already have bad reviews on your modules just because your customer doesn't know anything about the cache and how to install modules at all...

Now....

Dear Boonex! Some time ago there was a lot of requests on how to make Dolphin better. And also countless requests to keep cache system OFF from the beginning in Dolphin package. Is it so difficult to do? This cache system causes 99% of the problems of modules installation and headaches if customer doesn't know how to use it, so why to not keep it OFF from the beginning? Or why to not clean it automatically after a module installation? 

http://boonexpert.com
Quote · 30 Dec 2013

 

Hi All,

Almost every time when customers are coming to me with their problem like "your module doesn't work, refund my money!" the problem appears in their site cache system: 80% of customers don't even know what is it, where is it and how to use it. By cleaning cache everything starts working in 99% of cases. But by this time you already have bad reviews on your modules just because your customer doesn't know anything about the cache and how to install modules at all...

Now....

Dear Boonex! Some time ago there was a lot of requests on how to make Dolphin better. And also countless requests to keep cache system OFF from the beginning in Dolphin package. Is it so difficult to do? This cache system causes 99% of the problems of modules installation and headaches if customer doesn't know how to use it, so why to not keep it OFF from the beginning? Or why to not clean it automatically after a module installation? 

 
The module install is able to clear the cache. I do it in required areas of all of my modules. Perhaps you do not have it configured properly. I have no issues with my modules clearing the cache after install.

Check your modules config.php. Look for this section.

This is an example from one of my modules.

        /**
         * Installation/Uninstallation Section.
         */
        'install' => array(
            'check_requirements' => 1,
            'check_dependencies' => 0,
            'show_introduction' => 1,
            'change_permissions' => 1,
            'execute_sql' => 1,
            'update_languages' => 1,
            'recompile_main_menu' => 0,
            'recompile_member_menu' => 0,
            'recompile_site_stats' => 0,
            'recompile_page_builder' => 1,
            'recompile_profile_fields' => 1,
            'recompile_comments' => 0,
            'recompile_member_actions' => 0,
            'recompile_tags' => 0,
            'recompile_votes' => 0,
            'recompile_categories' => 0,
            'recompile_search' => 0,
            'recompile_browse' => 0,
            'recompile_injections' => 1,
            'recompile_permalinks' => 1,
            'recompile_alerts' => 1,
            'show_conclusion' => 1,
            'recompile_global_paramaters' => 1,
            'clear_db_cache'  => 1,
        ),
        'uninstall' => array (
            'check_dependencies' => 0,
            'show_introduction' => 0,
            'change_permissions' => 0,
            'execute_sql' => 1,
            'update_languages' => 1,
            'recompile_main_menu' => 0,
            'recompile_member_menu' => 0,
            'recompile_site_stats' => 0,
            'recompile_page_builder' => 1,
            'recompile_profile_fields' => 1,
            'recompile_comments' => 0,
            'recompile_member_actions' => 0,
            'recompile_tags' => 0,
            'recompile_votes' => 0,
            'recompile_categories' => 0,
            'recompile_search' => 0,
            'recompile_browse' => 0,
            'recompile_injections' => 1,
            'recompile_permalinks' => 1,
            'recompile_alerts' => 1,
            'show_conclusion' => 1,
            'recompile_global_paramaters' => 1,
            'clear_db_cache'  => 1,
        ),


Set 1 to enable 0 to disable. If your module needs it, set to one. For example.

recompile_page_builder if set to one will recompile the cache files for page blocks.
clear_db_cache set to one will clear the db cache.
recompile_main_menu set to 1 will clear the main menu cache.

Ect.  My guess is you do not have this properly configured in your module.

https://www.deanbassett.com
Quote · 30 Dec 2013

Thanks for reply, Deano,

The flag clear_db_cache seems works for db cache only, but not for stored pages cache, so it doesn't help really. 

http://boonexpert.com
Quote · 30 Dec 2013

What about the option recompile_page_builder

Do you have that on?

It's the one i have to set when i am dealing with adding pages and blocks, ect. Works fine for me.

https://www.deanbassett.com
Quote · 30 Dec 2013

I'll try that one, but some of my modules are dealing not with page blocks, but with page design (like css). Not sure about recompile_page_builder but will give it a try, thanks.

http://boonexpert.com
Quote · 30 Dec 2013

Some of the redesign of the admin was good, some redesign of the admin not so good.  in 7.0.9 there was a block on the admin page with some of the functions, like clearing the cache; so that it was quick and easy to get to them.  I actually liked that about 7.0.9.  Go to admin, click on cache clear all and done.  Now, go to admin, click on tools click on cache click on clear all.  When you are working on things constantly, the fewer the clicks to get something done the better.  I need to put that block back.

Geeks, making the world a better place
Quote · 30 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.