John Luo
8403184752
Update version number to 1.0.0-preview1
2016-10-17 12:24:04 -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
151ac2cdcb
Add Microsoft.AspNetCore.ResponseCaching.Abstractions to NugetPackageVerifier.json
2016-10-13 16:33:32 -07:00
moozzyk
c46a019a6b
Updating dependency versions in the sample project
2016-10-13 16:25:45 -07:00
John Luo
bc6fff40e6
Use 1.0.0 dependencies
2016-10-12 16:42:40 -07:00
Pranav K
794cc5359b
Revert "Updating to netcoreapp1.1"
...
This reverts commit 8656065f88 .
2016-10-12 16:09:33 -07:00
Pranav K
8656065f88
Updating to netcoreapp1.1
2016-10-12 13:46:23 -07:00
Brennan Conroy
3e3746f56e
StringBuilder extension to uppercase string
2016-10-10 14:29:09 -07:00
John Luo
54610b8fe4
Handle null or empty vary rules
2016-10-06 19:06:02 -07:00
John Luo
9d54cf1e8a
Move ResponseCacheFeature to new Abstractions package ( #67 )
...
Move ResponseCacheFeature to new Abstractions package and update package version numbers
2016-10-06 15:59:14 -07:00
John Luo
3b2a2eb892
Add logging
2016-10-05 18:01:01 -07:00
John Luo
9e5dbee208
Cache should use weak comparison for ETags
2016-10-04 16:04:14 -07:00
Pranav K
aec2a7c2d2
Updating partner package versions
2016-10-03 14:27:49 -07:00
BrennanConroy
4e10d19175
Update default Max Body Size
2016-10-03 08:25:31 -07:00
John Luo
aa52e66585
Make DistributedResponseCacheStore internal ( #61 )
...
Remove DistributedResponseCacheStore and move all interfaces to the Internal namespace
2016-09-30 11:24:44 -07:00
John Luo
24385e74c4
Internalize iresponsecachekeyprovider ( #59 )
...
Make IResponseCacheKeyProvider internal
2016-09-29 10:43:56 -07:00
John Luo
10381b0456
Use HttpMethods
2016-09-28 18:22:57 -07:00
John Luo
44b0dfd5bb
Sharding ( #57 )
...
Add sharding support for MemoryResponseCacheStore
- update CachedResponse API to use streams
- added empty IResponseCacheEntry interface
2016-09-28 11:58:16 -07:00
John Luo
a069f6b636
Store each header value separately
2016-09-21 13:44:11 -07:00
John Luo
5e12a103a4
API updates
...
- Internalize properties on ResponseCacheContext unless required by extension points
- Rename VaryByParams -> VaryByQueryKeys
2016-09-21 13:41:46 -07:00
John Luo
6891d00032
Stricter expiration checks to avoid serving responses when max-age is 0
...
Cache parsed response headers for performance
2016-09-20 12:32:51 -07:00
John Luo
c30d471c27
Make IResponseCacheStore APIs async
2016-09-20 12:06:56 -07:00
BrennanConroy
fbac81a471
Short circuit to avoid DateTimeOffset parsing
2016-09-16 16:59:29 -07:00
John Luo
7f638c1385
Always overwrite the VaryBy entry to ensure expiry is updated
2016-09-16 13:40:35 -07:00
BrennanConroy
d710e44c63
Remove some duplicate work
2016-09-16 09:59:03 -07:00
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
02b8fb3bbc
Use TaskCache class from Microsoft.Extensions.TaskCache.Sources
2016-09-07 11:33:05 -07:00
John Luo
411681e8d6
Add options to configure case sensitivity of request paths
2016-09-06 14:44:09 -07:00
Doug Bunting
0f711ce279
Increase .travis.yml consistency between repos
...
- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
- build with `--quiet`
2016-09-04 20:09:36 -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
a5e9215982
Update calls for string comparison
2016-08-30 12:29:27 -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
Ben Adams
7d716d2007
Date & Age handling
2016-08-15 12:58:01 -07:00
Pranav K
91d57c72bf
Switching to dotnet.myget.org feed
2016-08-09 15:10:17 -07:00
John Luo
a40cc88169
IResponseCache adapter and support for vary by header
2016-08-04 17:50:07 -07:00
BrennanConroy
8e7eb5d99e
Update .travis.yml
2016-08-02 13:07:17 -07:00
John Luo
d204adafd2
Add CI status to readme
2016-07-27 14:58:58 -07:00