how to remove cache in cakephp

Use the given below code in your method

configure::write(‘debug’, 3);

or try it

configure::write(‘debug’, 1);

0 = Production mode. No output.
1 = Show errors and warnings.
2 = Show errors, warnings, and SQL. [SQL log is only shown when you add $this->element(‘sql_dump’) to your view or layout.]

3= may be it can clear the cache try to use


Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *