7 references to NoCache
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheAttribute.cs (1)
89
builder.
NoCache
();
Microsoft.AspNetCore.OutputCaching.Tests (3)
OutputCachePolicyBuilderTests.cs (3)
49
var policy = builder.
NoCache
().Build();
307
var policy = builder.
NoCache
().Build();
319
var policy = builder.
NoCache
().Cache().Build();
OutputCachingSample (3)
Startup.cs (3)
13
options.AddBasePolicy(builder => builder.With(c => c.HttpContext.Request.Path.StartsWithSegments("/js")).
NoCache
());
15
options.AddPolicy("NoCache", b => b.
NoCache
());
26
app.MapGet("/nocache", Gravatar.WriteGravatar).CacheOutput(x => x.
NoCache
());