Revert "Remove lock version + use synchronized cache purge."

This reverts commit a2a35b17bb5a02748493870d04aa49d9d169a41c.