Are you aware of any good file based caching for PHP?

The data that will be cached will be HTML files and must be stored anywhere from 3 days to a week. I understand that memcached will not be a good solution here, because if the server goes down, we will lose everything.

+4
source share
3 answers

Try a peek at memcachedb . The Reddit guys seem to be using it, as mentioned in this talk , and it had a lot of good points to say about it. It seems you are getting memcache simplicity, but with the reliability of disk storage.

+3
source

If you cache entire pages, you can use http-cache, such as Squid.

+1
source

Consider Zend_Cache . It will provide you with a nice consistent API for cache operations. It provides a many-good file server, but you can swap it for other backends as needed.

+1
source

Source: https://habr.com/ru/post/1309449/


All Articles