Fix broken browser caching, send proper 304 header