Commit Graph

20 Commits

Author SHA1 Message Date
John Luo 673115a292 Remove todos and add a test
Issues are now resolved or are tracked in issues.
2016-09-15 17:04:21 -07:00
John Luo dd4799adfd Split by commas when normalizing headers 2016-09-15 12:04:13 -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 e236e64055 Fallback to empty cache control when none is explicitly cached 2016-09-12 17:27:40 -07:00
John Luo 65b89668bb Allow lookup of multiple keys
- Do not cache if content-length mismatches with the length of the response body
2016-09-12 16:28:58 -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 411681e8d6 Add options to configure case sensitivity of request paths 2016-09-06 14:44:09 -07:00
John Luo d72ef128dd Adding options to specify maximum response body size 2016-09-02 11:57:59 -07:00
John Luo 3b0f01a8ec Customize key prefix instead of suffix 2016-09-02 11:54:04 -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 8c5a5f7394 Use ObjectPool for StringBuilder 2016-08-26 13:50:58 -07:00
John Luo fb724a71de Add configurable options for ResponseCaching
Override RequestIsCacheable

Override ResponseIsCacheable

Append customized cache key
2016-08-25 16:26:25 -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
John Luo 1628d42b43 Clean up and update to post RTM 2016-07-27 10:41:38 -07:00
Chris R a14bb69d6a Rough outline of middleware, sample, and test projects. 2016-07-27 10:40:45 -07:00