fix index not loading with a 304 response