diet-ng
diet-ng copied to clipboard
Cached views in subdirectories
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.