Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Use the file system watcher to expire the files in razor file cache #1708

Closed
Praburaj opened this issue Dec 11, 2014 · 3 comments
Closed

Use the file system watcher to expire the files in razor file cache #1708

Praburaj opened this issue Dec 11, 2014 · 3 comments

Comments

@Praburaj
Copy link
Contributor

Physical file system has the ability to watch files now for changes. This can be used with InMemoryCache or can be used with the existing cache implementation.

@pranavkm

@yishaigalatzer
Copy link
Contributor

I believe this is a dup. Can you dedup please?

@yishaigalatzer
Copy link
Contributor

I couldn't find a duplicate, but these two items are related #1204 #518

@yishaigalatzer
Copy link
Contributor

We discussed the precompilation scenario, and we don't think that for items in the precompilation stage we actually need to hook up a filewatcher. It is probably enough to just do the copying. We should never hit the disk (in the precompilation scenario) until we actually try to serve the view

pranavkm added a commit that referenced this issue Jan 27, 2015
pranavkm added a commit that referenced this issue Jan 27, 2015
pranavkm added a commit that referenced this issue Jan 30, 2015
expire files in razor file cache.

Add a functional test to ensure the compiler cache does not get
initialized until the first request to a View.

Fixes #1708
pranavkm added a commit that referenced this issue Jan 30, 2015
expire files in razor file cache.

Add a functional test to ensure the compiler cache does not get
initialized until the first request to a View.

Fixes #1708
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants