Split cache helper methods out; move permalink chaining further out
push wpkeys away from redis