Closed Bug 1934011 Opened 4 days ago Closed 10 hours ago

httpd: cache /json-pushes?changeset=[sha] response

Categories

(Developer Services :: Mercurial: hg.mozilla.org, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jcristau, Assigned: jcristau)

Details

Attachments

(1 file)

These seem like they should be cacheable:

[jcristau@hgweb1.dmz.mdc1 ~]$ grep '"GET .*json-pushes' /var/log/httpd/hg.mozilla.org/access_log | sed 's/[^"]*"GET //;s/".*//' | sort | uniq -c | sort -n | tail -10
    127 /mozilla-central/json-pushes?changeset=732bcd7ac9715c84a87e102cdac239ab5c215994&version=2&tipsonly=1 HTTP/1.1
    128 /integration/autoland/json-pushes?changeset=8e7b1476fb74a3200649cb8dffb37b05891e84ab&version=2&tipsonly=1 HTTP/1.1
    150 /integration/autoland/json-pushes?changeset=732bcd7ac9715c84a87e102cdac239ab5c215994&version=2&tipsonly=1 HTTP/1.1
    153 /mozilla-central/json-pushes?changeset=d4f7c1a6155fb8352d1dc24de4959a4fb6e29476&version=2&tipsonly=1 HTTP/1.1
    299 /mozilla-central/json-pushes?changeset=0cedbe4803de216ad8699434c8d840bd6a55c88b&version=2&tipsonly=1 HTTP/1.1
    645 /integration/autoland/json-pushes?changeset=f97cba74e8bd9653347e416ada5e077da97d6c99&version=2&full=1 HTTP/1.1
    795 /integration/autoland/json-pushes?changeset=4020c93bd39d61acf60bec56f462c9d707cac35c&version=2&full=1 HTTP/1.1
   1014 /integration/autoland/json-pushes?changeset=4ddf1d8d54ca2fced15c3d21261e360ee7402025&version=2&full=1 HTTP/1.1
   1389 /mozilla-central/json-pushes?changeset=08a85f1b7545a8bb7ed6e720fd78705f4f17f570&version=2&full=1 HTTP/1.1
   1402 /integration/autoland/json-pushes?changeset=3961677d3447abc4486e8b7027cc33bffb10b790&version=2&full=1 HTTP/1.1
Assignee: nobody → jcristau
Status: NEW → ASSIGNED

Pushed by jcristau@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/001407ef4bd1
httpd: mark json-pushes?changeset=[hash] response cacheable for an hour . r=sheehan

Status: ASSIGNED → RESOLVED
Closed: 10 hours ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: