Commit Graph

15 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 1da1c69a6f
Switch async void to async Task (#176) 2018-11-13 11:09:27 -08:00
John Luo 7190412979 Tigger caching header finalization on write #92 2017-02-08 16:06:20 -08:00
John Luo 3bf5f6a1ce Restructure response caching middleware flow
- Always add IresponseCachingFeatu8re before calling the next middleware #81
- Use If-Modified-Since instead of the incorrect If-Unmodified-Since header #83
- Handle proxy-revalidate in the same way as must-revalidate #83
- Handle max-stale with no specified limit #83
- Bypass cache lookup for no-cache but store the response #83
- Bypass response capturing and buffering when no-store is specified #83
- Replace IsRequestCacheable cache policy with three new independent policy checks to reflect these changes
- Modify middleware flow to accommodate cache policy updates
2017-01-10 14:48:39 -08:00
moozzyk 70fce81d7d Adding additional test coverage 2016-10-24 17:24:36 -07:00
John Luo 8acf71457e API review feedback
Rename middleware components ResponseCache => ResponseCaching

Move ResponseCachingOptions to Microsoft.AspNetCore.ResponseCaching namespace

Rename extension methods
2016-10-17 11:33:09 -07:00
John Luo 6c13371fa0 API review renames and updates continued
- Consolidate base key to be singular
2016-09-15 11:40:51 -07:00
John Luo ccfa090e6e API review renames and updates 2016-09-14 11:07:23 -07:00
John Luo 6a04fe5fb7 Store body and header separately, preliminary sharding
- Add fast id
2016-09-12 15:20:58 -07:00
John Luo 7300d9e936 Refactoring ResponseCacheContext
- Extract key creationg into a service
- Extract cacheability checks into a service
- Add a ResponseCachingState feature to preserve response cache context between operations
- Recognize Set-Cookie as not-cacheable
2016-09-07 15:50:22 -07:00
John Luo d72ef128dd Adding options to specify maximum response body size 2016-09-02 11:57:59 -07:00
John Luo 52f219b16e Support conditional requests and send 304 when possible 2016-08-31 14:44:12 -07:00
John Luo 1d6c5af72c Add option for VaryBy query string params 2016-08-29 16:38:59 -07:00
John Luo 4f61c65931 Update no-store behaviour 2016-08-25 14:29:55 -07:00
John Luo 62aabc1bae Add implementation for HTTP caching 2016-08-15 13:00:24 -07:00
John Luo a40cc88169 IResponseCache adapter and support for vary by header 2016-08-04 17:50:07 -07:00