Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/308773
Change subject: Change Prop: Send the if-unmodified-since header on
transclusion updates
......................................................................
Change Prop: Send the if-unmodified-since header on transclusion updates
Send it to limit the amount of requests processed by RB/Parsoid and to
eliminate unnecessary re-renderings of titles.
Change-Id: I38a1879a4add7a65305e551c60d8adfd4d8364dd
---
M modules/changeprop/templates/config.yaml.erb
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/73/308773/1
diff --git a/modules/changeprop/templates/config.yaml.erb
b/modules/changeprop/templates/config.yaml.erb
index 3624a05..81a5a4b 100644
--- a/modules/changeprop/templates/config.yaml.erb
+++ b/modules/changeprop/templates/config.yaml.erb
@@ -231,6 +231,7 @@
uri: '<%= @restbase_uri
%>/{{message.meta.domain}}/v1/page/html/{{match.meta.uri.title}}'
headers:
cache-control: no-cache
+ if-unmodified-since: '{{date(message.meta.dt)}}'
query:
redirect: false
--
To view, visit https://gerrit.wikimedia.org/r/308773
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a1879a4add7a65305e551c60d8adfd4d8364dd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits