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