acorn_cache 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/acorn_cache/cached_response.rb +1 -1
- data/lib/acorn_cache/request.rb +1 -1
- data/lib/acorn_cache/server_response.rb +4 -0
- data/lib/acorn_cache/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a2d9940673a713c2d067e7156a4e8ce121c3cc6
|
4
|
+
data.tar.gz: efdf2438b730d2452d80efa880edb09ff224f30a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac818acc82582947bf09afbf3daa3ec2e9a2641de379538fa3c6fbd090f28d49290474e4bb8ae755ec69a605d6998ba1eb4191f315d71ea45030ca9bec5c1d0
|
7
|
+
data.tar.gz: 498cab5ea208d38db6302b82078dacc9889b1c58872e3ae74aebd7b8fac333b991a2ac72536bb6f6e37f310706edbed4d7c4168f3edd6c81d5b8684180be54cf
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+

|
2
2
|
|
3
3
|
AcornCache is a Ruby HTTP proxy caching library that is lightweight, configurable and can be easily integrated with any Rack-based web application. AcornCache allows you to improve page load times and lighten the load on your server by allowing you to implement an in-memory cache shared by every client requesting a resource on your server.
|
4
4
|
|
@@ -185,6 +185,7 @@ RackAcornCache.configure do |config|
|
|
185
185
|
config.page_rules = {
|
186
186
|
"http://foo.com" => { use_defaults: true }
|
187
187
|
"http://bar.com" => { acorn_cache_ttl: 100 }
|
188
|
+
}
|
188
189
|
end
|
189
190
|
```
|
190
191
|
|
data/lib/acorn_cache/request.rb
CHANGED
data/lib/acorn_cache/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acorn_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent J. DeVendra
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|