Set cache headers on requests