Cache mechanism for WordPress