Adding cache class for WordPress