Add global caching rule

fixed #79