How is a fixed expires for the cache?

If you add a value to the cache expires in 10 seconds and then refresh in 5 seconds this value it will hold for another 10 seconds. And if you continue to renew before the expiration expires , the value will remain forever.

For example in Memcached there is a bug/feature - if you set the option OPT_BINARY_PROTOCOL something when updating existing records does not change the original expires. And how many do not update the entry, it will disappear after 10 seconds. The name of this cache behavior?

In the Symphony now added the Memcached Cache Adapter - I have not found how to set this option. But in principle, this behavior of the cache is still there?
April 3rd 20 at 17:38
0 answer

Find more questions by tags SymfonyMemcached