Don't take the db into account when building cache keys (bug 928881)

This should fix cache invalidation problems we had with
django-cache-machine 0.8.