When scheduling expirations, it's more efficient to store expiration date over...
When scheduling expirations, it's more efficient to store expiration date over storing creation date + life duration, and computing expiration date at every expiration check. Apply this to BaseCache and its users, RamCache and SQLCache. Also, don't cast timestamps to integers (it's not needed, so just don't do it. cache is here to save cpu time). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21104 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment