I want to disable the cache in the template system Dwoo.
Just for my dev mode. But then I tried to invok开发者_运维知识库esetcache ()
or modify Dwoo classes and nothing works.
Someone has an idea?
Thank youWhich cache are you talking about?
Dwoo has a compiled templates cache (by default dwoo/compiled
), this is regenerated automatically based on filemtime()
and you don't need to take care of it.
Then there is the output cache, by default it's deactivated, so if you have problems with that you should handle it in your application logic, and force the cacheLength
to 0 in development mode.
Now it is possible to do a forceCompilation();
on any Dwoo_Template_File
精彩评论