how to disable RavenDB's caching
Want to disable RavenDB's caching? Useful in determining the first-hit performance of a query.
Store = new DocumentStore { ConnectionStringName = "RavenDB" };
Store.Conventions.ShouldCacheRequest = (url) => false;
Store.Initialize();
Written by 19nine78
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#