Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Add directories to current cache context #553

Closed
wants to merge 1 commit into from
Closed

Conversation

davidfowl
Copy link
Member

- Flow the ICacheContextAccessor through the DI system
- Watch all directories that source files are currently in (including)
 the project directory.

#552
@Eilon
Copy link
Member

Eilon commented Aug 20, 2014

:shipit:, but also a question: I'm certainly not familiar with the depths of the design of this, but can/should the caching stuff be plumbed as a service (I see an IServiceProvider passed around). By default, no caching. But for DTH you get the appropriate implementation. Thoughts? Crazy?

@davidfowl
Copy link
Member Author

@Eilon almost did that but I think we need some caching in the runtime by default. Things like razor still rely on runtime compilation so keeping the cached compilations around is nice for that. We don;t need fully blown cache at runtime though, just something super basic (like a dictionary).

@davidfowl davidfowl closed this Aug 21, 2014
@davidfowl davidfowl deleted the watch-directories branch August 21, 2014 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants