RAILS ETAG



RAILS ETAG


Michael Ivey / Rails 1.2.3 eTag patch ...
Rails Edge changeset 6158 added automatic eTag support. I needed it in a Rails 1.2.3 project, so I made a little patch to shoehorn 6158 into 1.2.3

Michael Ivey
Tags. 365 aim bdd conferences ...

Etag problem with mongrel cluster : Ruby on Rails
Rails Edge is smart enough to supplement HTTP response with Etag header. This is great feature as it saves transfer and improves user experience

Changeset 6158 - Rails Trac - Trac
Timestamp: 02/17/07 18:16:44 (1 year ago) Author: david Message: Added that rendering will automatically insert the etag header on 200 OK responses

#7580 ([PATCH] Etag should not be inserted when already set) - Rails ...
Description Changes the very nice automatic Etag insertion added to rendering in [6158] so that the Etag header is not changed when it is already set before render is called

Client HTTP Caching in Rails - igvita.com
Perhaps the best approach is to have Rails support etag/ conditional get, and not cache anything itself - and then turn mod_cache on in Apache

a work on process » etag
DHH just committed a change to Edge Rails that automatically adds an ETag when sending a response and returns an HTTP 304 (Not Modified) when an agent comes back asking for the ...

Bill de hÓra: Design for the web
Exhibit 3: Rails support for Etag , again quotable in full: "Rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the ...

ongoing · On Being for the Web
Your ysis of the ETag implementations in Rails and Django assumes that clients and caches are going to revalidate every time. They don't. The rest of the section accurately ...

Labnotes » ruby
Rails ETag vs if_modified. Rails 2.0 already has a feature that uses ETag to great effect. At the end of each request it calculates an ETag from the response