Just simply compare Etag and If-None-Match,then send 304 status when matching, it works on Chrome 6, Firefox 3.5 and Opera 10.5: http://bitbucket.org/keakon/yui/src/tip/yui.py#cl-820
For those browsers which have no affect at all, you can try deploy to app server since the dev server always send "Cache-Control: no-cache" and "Expires: Fri, 01 Jan 1990 00:00:00 GMT" to prevent cache. ---------- keakon On Thu, Nov 4, 2010 at 8:26 AM, Steve <[email protected]> wrote: > Can anyone tell me what the secret is to get Google Chrome (9/dev) or > IE8 to send If-None-Match headers? I've gone to a lot of work to > organize my application so it sends ETags and short-circuits doing > work when an etag matches the "If-None-Match" header. Firefox works > beautifully and I send out lots of cheap 304s. But, I'm getting bald > spots from ripping my hair out trying to get Chrome or IE to do the > same. > > Has anybody conquered this before? > > Thanks! > > Steve > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
