XF 2.2 Is it safe to delete insides 'templates' folder?

Wanji

Active member
Is it safe to delete insides 'templates' folder (internal data > code_cache > templates)?
 
Season 4 Andy GIF by The Office
 
Since the name is "cache" I think it's safe to delete it :)
Well, as @Max Taxable has already pointed out - it is "safe" to delete the content, nothing too bad/irreversible will happen.

However, your XenForo installation will stop working as it has no template code to render unless you recompile templates.

This is not much different from other software/frameworks that also compile templates to executable PHP code, the only difference is that other software might automatically recompile if compiled ("cached") templates are missing - XenForo does not do that.
 
Well, as @Max Taxable has already pointed out - it is "safe" to delete the content, nothing too bad/irreversible will happen.

However, your XenForo installation will stop working as it has no template code to render unless you recompile templates.

This is not much different from other software/frameworks that also compile templates to executable PHP code, the only difference is that other software might automatically recompile if compiled ("cached") templates are missing - XenForo does not do that.
Thank you, now I can sleep well.
 
Back
Top Bottom