Veil icon indicating copy to clipboard operation
Veil copied to clipboard

Bust the Nancy cache for a template with includes

Open csainty opened this issue 11 years ago • 0 comments

When dev'ing in Nancy, if you make changes to a partial or master page (anything loaded through the IVeilContext.GetTemplateByName) it will not regenerate when you hit refresh. Only the primary template is checked.

Simple fix: No caching at dev time? Better fix: Make the cache break when either the primary template or any of the templates it includes is changed.

csainty avatar Jun 30 '14 08:06 csainty