Turn off template cache for development?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
martti
Registered User
Posts: 860
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Turn off template cache for development?

Post by martti »

How do I turn off the template cache during development so I don't need to constantly purge the cache?
I've turned on 'Recompile Stale Style elements', but that has no effect.
(version RC2)
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: Turn off template cache for development?

Post by nickvergessen »

That does and should work.
No Support via PM
User avatar
martti
Registered User
Posts: 860
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: Turn off template cache for development?

Post by martti »

Ok, it was happening when making changes to template and php events, but I had to define the DEBUG constant in config.php and then it was working.
Thank you for the great work on the extension system. It so much cleaner then modifications.
User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

Re: Turn off template cache for development?

Post by D@ve »

Couldn't you implement a parameter in config.php to deactivate the cache completely?
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB
Post Reply

Return to “Extension Writers Discussion”