Ottomata has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/340246 )
Change subject: Only pipe /v2/stream requests to EventStreams service, everything else can be cached by varnish ...................................................................... Only pipe /v2/stream requests to EventStreams service, everything else can be cached by varnish This allows https://stream.wikimedia.org/?doc to be cached. Bug: T158066 Change-Id: If1bf4c6f91131bc26ea596bc3950d194734f77a1 --- M modules/role/manifests/cache/misc.pp 1 file changed, 7 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/46/340246/1 diff --git a/modules/role/manifests/cache/misc.pp b/modules/role/manifests/cache/misc.pp index ade32d2..07afcad 100644 --- a/modules/role/manifests/cache/misc.pp +++ b/modules/role/manifests/cache/misc.pp @@ -239,8 +239,14 @@ 'stats.wikimedia.org' => { 'director' => 'thorium' }, 'stream.wikimedia.org' => { 'director' => 'eventstreams', - 'caching' => 'pipe', 'subpaths' => { + # Pipe /v2/stream/.+ requests directly to eventstreams service + '^/v2/stream/.+' => { + 'director' => 'eventstreams', + 'caching' => 'pipe', + }, + # Pipe RCStream requests to rcstream service. This is to be + # deprecated and shut down in July 2017. '^/(socket\.io|rc(stream_status)?)(/|$)' => { 'director' => 'rcstream', 'caching' => 'websockets', -- To view, visit https://gerrit.wikimedia.org/r/340246 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If1bf4c6f91131bc26ea596bc3950d194734f77a1 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <ao...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits