Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bust the Nancy cache for a template with includes #9

Open
csainty opened this issue Jun 30, 2014 · 0 comments
Open

Bust the Nancy cache for a template with includes #9

csainty opened this issue Jun 30, 2014 · 0 comments

Comments

@csainty
Copy link
Owner

csainty commented Jun 30, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant