diet-ng icon indicating copy to clipboard operation
diet-ng copied to clipboard

Cached views in subdirectories

Open Murnto opened this issue 8 years ago • 0 comments

When caching views with "versions": {"DietUseCache"}, the cached view path is prefixed verbatim with _cached_.

This produces paths like views/_cached_subdirectory/index.dt_[..].d. Such directory is not created during compilation, thus the file is not written and execution will fail unless the directory was created manually.

Cached views should either be placed alongside their source files, or perhaps within their own sub directory for trivial clearing.

Murnto avatar Aug 01 '16 08:08 Murnto