|Summary:||Cache-control should be set only on api/runs|
|Product:||WebKit||Reporter:||Ryosuke Niwa <rniwa>|
|Component:||WebKit Website||Assignee:||Ryosuke Niwa <rniwa>|
|Version:||528+ (Nightly build)|
Description Ryosuke Niwa 2015-01-09 14:32:41 PST
Some JSON APIs such as api/analysis-tasks can get outdated pretty quickly as they could be modified by the user on demand. Since the only JSON that takes a long time to generate is ones returned by api/runs, just set cache-control in that script instead.
Comment 2 Andreas Kling 2015-01-09 14:38:10 PST
Comment on attachment 244372 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=244372&action=review r=me > Websites/perf.webkit.org/public/api/runs.php:18 > +// FIXME: We should support revalication as well as caching results in the server side. Typo, revalidation.