Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade Caffeine to 2.7 #2443
LfuCache currently uses a dummy loader to comply with the API and uses only the manual loading methods. Based on this and similar feedback, we now offer
Another benefit is that the eviction policy is now adaptive. It still initially biases towards frequency, but will reconfigure itself based on the workload characteristics. I don't know the typical characteristics for an http cache, but it may be beneficial. I believe there is still some fine tuning needed for tiny caches (e.g. less than 100) that I'll look into for a patch release.