Attribute for preventing .NET WebAPI 2 GET requests from being cached on the client, namely IE11 which uses aggressive caching. Affects all clients, not only IE11.
Usage: Either decorate individual API methods with [NoCache]
or globally:
Sources:
Attribute for preventing .NET WebAPI 2 GET requests from being cached on the client, namely IE11 which uses aggressive caching. Affects all clients, not only IE11.
Usage: Either decorate individual API methods with [NoCache]
or globally:
Sources: