Allow the max cache lifetime to be set
GrahamCampbell opened this issue · 5 comments
GrahamCampbell commented
The current default is 30 days. There are cases where people will want to lower this where they are sending millions of requests.
GrahamCampbell commented
NB ['cache_lifetime' => $time_in_seconds]
should be the 2nd parameter passed to addCache
when implemented in getBuilder
of GitHubFactory
GrahamCampbell commented
Lowered the default to 48 hours.
GrahamCampbell commented
Still no option to set as of yet.
GrahamCampbell commented
Also, changed the caching system to strictly only cache using etags, so always sending requests: c0b74de.
GrahamCampbell commented
I think this is fine now.