tags:

views:

151

answers:

1
A: 

One thing you can do to help performance when you're using RenderPartial() or View() is to return the path to the view that way it doesn't have to search for it. When you provide only the file name it has to determine it's only a file name then search for the view in a list of folders.

Chad Moran
Yes, I understand, but if you look at the article I linked, the work that is required to search for the view should only happen once if debug is turned off, because the result should be cached. What I'm trying to get at is why the cache doesn't appear to be working. Is it a bug? Am I doing something wrong? That's my question.
Chris