I want to store the page static cache in the server cache folder, but a large number of new page caches are generated every day and are read and written frequently.
What are the best solutions for this situation to avoid various limitations and performance issues?
Reply content:
I want to store the page static cache in the server cache folder, but a large number of new page caches are generated every day and are read and written frequently.
What are the best solutions for this situation to avoid various limitations and performance issues?
File restrictions can be modeled after squid
the hash to the hierarchical directory; Performance SSD
.
If it is frequently read-write, it is still put in the cache what is the use.
Memory size, set an expiration time, write directly to the memory
Redis Memcache, etc.
Hash directory hierarchical storage, take the first few characters of the file name or other way