-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
33 lines (17 loc) · 711 Bytes
/
README
File metadata and controls
33 lines (17 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
= MemCacheDefaultExpiresIn
+MemCacheDefaultExpiresIn+ is a plugin in that... well the name kind of gives it away.
== Install
To install, do:
script/plugin install git://github.com/CodeMonkeyKevin/mem_cache_default_expires_in.git
== Usage
Installing the plugin add support for default/global expires_in time for mem_cache_store.
config.cache_store = :mem_cache_store,
'localhost',
{:expires_in => 15}
So now all of your fetch request by default have a expires_in time of 15 seconds.
== TODO
* Workout more
== Credits
Written by {Kevin Patel}[http://github.com/CodeMonkeyKevin] and {Joshua Borton}[http://github.com/digitaltoad].
== License
MIT License