In the ASP.NET Document Viewer what caching store should I use?
<< Click to Display Table of Contents >> Navigation: Gnostice Document Studio .NET > Frequently Asked Questions (FAQs) > ASP.NET > In the ASP.NET Document Viewer what caching store should I use? |
In order to speed up the document viewing experience the ASP.NET Document Viewer caches processed data on the server. The supported cache storage locations are in-memory, and database. When in-memory caching is used, the processed data is cached on the server that receives the first request from a new client starting a viewing session. When database caching is used the processed data is cached on a common database. Database caching is superior compared to in-memory caching and is therefore the recommended cache store. You can use the following criteria to determine which store works best for you.
Use in-memory caching if…
…you are using a single server (no load balancer)
...generally different (unique) documents are viewed
Use database caching if…
...you have multiple servers in a load-balanced environment
...generally same set of documents are viewed