Basically, any time a page is loaded a compiled template is created in the templates/compile folder for the requested page. If you delete them, they'll come back. It's part of the Smarty template engine. So really it needs read/write and modify privileges on the files and folder.