[glotpress-updates] [GlotPress] #236: Expose the "version" of a translation through the API or HTTP headers.
GlotPress
noreply at wordpress.org
Mon Apr 8 03:37:59 UTC 2013
#236: Expose the "version" of a translation through the API or HTTP headers.
--------------------------+-----------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: general | Version:
Resolution: | Keywords:
--------------------------+-----------------
Comment (by rmccue):
Ideally, `Last-Modified` with `If-Modified-Since` would be the perfect
solution: it's part of the HTTP standard, and it means only one request
(versus a custom header checked by a HEAD request, followed by another GET
request if it doesn't match). The next best solution is `ETag` with `If-
None-Match`, but this means creating an ETag for the files (likely a MD5
hash) which is more work than the date. That said, a `Content-MD5` header
might be nice for checking file integrity after downloading (.org already
offers this for zip downloads). If this is done on file generation and the
file is cached, this would be a nice extra feature.
--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/236#comment:1>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list