add cache rules for static directory