Add vary on ajax middleware for caching