1
0
mirror of synced 2026-01-09 15:02:41 -05:00
Files
docs/lib
James M. Greene 068c472084 Cache rendered pages in Redis (#17106)
* Explicitly set the Redis database number used for rate limiting

* Switch to using ioredis as the Redis client for rate limiting

* Install ioredis-mock as a primary dependency

* Create a Redis BasicAccessor class and tests

* Switch rendered page caching to use Redis for storage

* Add support for additional Redis SET options like TTLs

* Remove currently unused methods

* Rename redis-accessors/basic to redis-accessor and remove extra fluff

* Change default behavior for cache setting to throw if an error occurs

Add option allowSetFailures to facilitate graceful failures

* Allow SET failures to fail gracefully for the rendered page cache

* Remove as-yet unneeded serialization options from RedisAccessor

* Move Redis client construction into RedisAccessor constructor, just pass in databaseNumber as option

* Remove rendered-page-cache in favor of direct RedisAccessor use

* Add tests for RedisAccessor constructor param validations

* Eliminate one roundtrip to Redis for the cached HTML existence check

Are we fast yet?

* Set a rendered page cache TTL of 24 hours
2021-01-06 15:30:51 -06:00
..
2020-12-03 08:56:24 -08:00
2020-11-02 15:12:44 -06:00
2020-10-21 09:42:02 -07:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-12-17 12:10:21 -05:00
2020-09-27 14:10:11 +02:00
2020-11-02 15:12:44 -06:00
2020-09-27 14:10:11 +02:00
2020-10-26 10:18:42 -07:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2021-01-05 17:04:01 +00:00
2020-12-17 10:50:52 -05:00
2020-09-27 14:10:11 +02:00
2020-12-14 15:47:28 -05:00
2020-12-15 15:02:03 -05:00
2020-11-02 15:12:44 -06:00