Set cache-control and expires header