Closed
Bug 865363
Opened 12 years ago
Closed 11 years ago
Add ETag headers to snippet responses
Categories
(Snippets :: Service, defect)
Snippets
Service
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1054472
People
(Reporter: osmose, Unassigned)
Details
Currently, snippets doesn't send any ETags or Last-Modified headers, but it should, as some clients (Fennec, for example, which is going to be using the snippets service soon) will benefit from saving bandwidth when they don't need to download new snippets.
From what jakem tells me, Zeus should Just Work (c) in terms of returning a 304 if you provide the right headers.
Given that Zeus handles most of the load, I think the simple solution of hashing the snippet HTML will do the trick. However, since I've never actually handled ETag or Last-Modified headers before, I might be missing something. Thoughts?
(CC jakem for input on Zeus, pmac for a second opinion)
| Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•