Revert "Use mongodb caching"

This reverts commit 2fac99d1f546de5b1a3b4f97a454484195b3e8e8.
Revert "Use whitelist plugin"

This reverts commit 60982f30e6e60b07b613f99508eac2ef4dabc327.