Install Memcache in Windows:
1. Download the stable version of memcache for windows and decompress it to a disk, for example, in c: \ memcached
2. First, find the original file of cmd.exe (in c: \ windows \ system32 \ cmd.exe) at the startup (that is, the command line administrator's ID is installed ),
Right-click it as an administrator, and enter 'C: \ memcached \ memcached.exe-d install' in the next step.
3. Enter 'C: \ memcached \ memcached.exe-d start' to start. NOTE: in the future, memcached will be used as a windows Service and will be automatically started every time it is started. In this way, the server has been installed.
4. Monitoring
E: \ memcached \ memcached.exe-p 11121-m 64-vv
NET developers began to abandon the built-in cache mechanism of ASP. NET, instead of using Memcached, a distributed memory cache system, which was initially developed for the LiveJournal website by Danga Interactive.
A fundamental problem is how to process outdated data. When running on a separate Web server, you can easily clear a cache that has been confirmed to be changed. Unfortunately, ASP. NET does not have a good way to support multiple servers. The cache on each server knows nothing about changes to other caches.
ASP. NET allows you to invalidate a cache by using a Trigger Based on the file system and database table. However, this also has problems. For example, database Triggers require expensive Round Robin and trigger lengthy programming. However, we still have other options.
Unlike the built-in cache of ASP. NET