Implemented custom cache rules