[k] Set 15-minute expires headers on search result pages

VERIFIED FIXED in 2.1

Status

support.mozilla.org
Search
P3
normal
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: jsocol, Assigned: jgross)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
We currently set no Expires or Cache-Control headers, as far as I can tell, on search forms or results. We should set these headers to cache for around 15 minutes. The lag would be similar to the regular Sphinx-index-cron lag, and, especially for the common front-page searches, I think we'd see a large reduction of traffic falling through Zeus.
(Reporter)

Comment 1

8 years ago
Good place for a new person to start => unassigned, [good first bug].
Whiteboard: [good first bug]
(Assignee)

Updated

8 years ago
Assignee: nobody → jgross
(Assignee)

Comment 2

8 years ago
http://github.com/jsocol/kitsune/commit/08c5ea1eb63490c0f94fa51e045b58c7b265fa91
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug]
Verified FIXED:

Cache-Control	max-age=900 (900/60=15 minutes :-))
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.