Commit graph

25 commits

Author SHA1 Message Date
Kyle Drake
29619d51ee remove surf code, clean up purge cache and better define purge cache tests for expected behavior 2024-02-21 13:51:41 -06:00
Kyle Drake
9bb34424ff purge cache for stripped .html files 2022-12-15 10:21:55 -06:00
Kyle Drake
b3a5b2d860 directly use PurgeCacheWorker now 2017-08-01 18:06:51 -07:00
Kyle Drake
1a563e8aee shut down http-based purging 2017-07-23 16:03:21 -07:00
Kyle Drake
dbc47f0586 key renamed to path 2017-07-23 11:10:10 -07:00
Kyle Drake
bdee6500ee hybridize the cache purging for transistion 2017-07-23 11:09:29 -07:00
Kyle Drake
d2fc7a3a16 Disable v6 check for trumpplan, tempfix for purge cache, uncomment
manifest entries
2017-05-05 14:29:34 -07:00
Kyle Drake
f796fdf9a8 default https for cache purging and URIs 2017-01-06 00:03:30 -06:00
Kyle Drake
f92d6c6139 follow redirects 2017-01-05 16:01:35 -06:00
Kyle Drake
80b3f6b0be Use http.rb to ensure timeout enforcement for cache purging, disable crashing flag for now 2016-10-23 12:53:47 -05:00
Kyle Drake
d6b33ddad8 skim the cache purge timeout 2016-10-05 22:22:10 -05:00
Kyle Drake
ce905200da Switch delete cache to local proxy ips, tune retries 2016-09-15 01:42:20 +00:00
Kyle Drake
2a451e1eec cache purge: retry once with URI.encode 2015-11-28 02:45:54 -08:00
Kyle Drake
7e2ee59186 don't worry about forbidden 2015-07-29 14:29:18 -07:00
Kyle Drake
7bd2ad6b51 New cache system using proxy_cache_bypass
Instead of using ngx_cache_purge which was buggy, we are trying
proxy_cache_bypass, which is internal to nginx. This is A Good Thing
(assuming it works), because when we call HEAD on the purge item, it
also warms the cache for us, which the previous system did not do. We
want newly updated files to cache warm, because they are expected to be
used quickly.
2015-07-27 15:44:34 -07:00
Kyle Drake
6773034487 add http timeout for purge cache worker 2015-07-16 19:28:45 -07:00
Kyle Drake
bb44965c8e ensure forward slash 2015-07-03 16:09:42 -07:00
Kyle Drake
a5fdbfe4a7 fix cache purge test url and encode spaces 2015-07-02 19:40:42 -07:00
Kyle Drake
4b87c818e7 cache purge improvements, index path flusher 2015-07-02 17:21:19 -07:00
Kyle Drake
3a6ca6c12b implement the cache purger 2015-07-02 14:23:22 -07:00
Kyle Drake
50c1f67bdf patch a few missing tests, deprecate server model, fix a few bugs 2014-09-12 19:09:58 -07:00
Kyle Drake
c0bea57468 use redis connection pool for cache purge 2014-08-15 12:55:10 -07:00
Kyle Drake
63d9348012 better structure for cache purge 2014-08-11 20:45:43 -07:00
Kyle Drake
e756724fe7 change purgecache publish name 2014-08-10 17:24:26 -07:00
Kyle Drake
94b3fd6903 purge cache pubsub implementation 2014-08-10 00:55:13 -07:00