Home / FAQ / ASP.NET / Output Caching / I want to Cache based on HTTP header .How can I do that
<%@OutputCache ... VaryByHeader='UserAgent' %>
<%@ OutputCache ... VaryByHeader='Accept-Language' %>
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.