set caching rules