Caching file contents, config project, template project, to make the preview generation faster.
Closes CE-3425