Project Description
ASP.Net MVC Supplant Caching is a modified version of the
ASP.NET MVC Extensible Donut Caching project with a few changes made.
- Replacements are done using string splicing instead of Regular Expressions for performance. Regexes on large html documents was problematic.
- To keep from having to search for the tokens on the page, a separate cache is built up that only has the tokens for the current page, as well as their current position. This enables MvcSupplantCaching to drop replacements in exactly where they need to go with no searching.
- Normal Func<T> and Action methods are supported for supplanting the content. No need for creating new controller actions to do this.