etag

HTTP: Generating ETag Header

How do I generate an ETag HTTP header for a resource file? ...

How do you make an etag that matches Apache?

I want to make an etag that matches what Apache produces. How does apache create it's etags? ...

What's the best way to create an etag?

What's a good method of programatically generating etag for web pages, and is this practice recommended? Some sites recommend turning etags off, others recommend producing them manually, and some recommend leaving the default settings active - what's the best way here? ...

How to remove eTag from IIS5 http headers

Running IIS5 (yes, really). I'd like to remove the eTag http header that IIS generates for me. MS has an article on how to sync eTags across the web farm, but not how to remove them ( http://support.microsoft.com/?id=922733 ). Is there a way to remove eTags? ...

Web caching when retrieving lists of documents

We have a need to leverage client side resources for lists containing tasks. The client needs to: be notified of updates to the list be able to re-order/filter the list (requesting an update from the server with tasks that the client does not know of/have in cache) The problem comes on initial load or large list updates (changing fr...

What does "subrange" mean in the HTTP spec?

See, for example, §13.3.3 and §13.3.4. It doesn't seem to me that this could be related to "media range" (§14.1, e.g. Accept: text/*), nor "language range" (§14.4, e.g. Accept-Language: da, en-gb;q=0.8, en;q=0.7). Maybe it's the "accept range" (§14.5), which puts byte limitations on a response? If that's true, how do ETags relate? ...

Single web server and ETags

Hi, Does anyone know if it is worth disabling ETags on an web application that is hosted on a single web server? Currently we don't make use of ETags in our application. If it is worth disabling them - why? Many thanks. ...

How do I remove eTag headers from IIS7?

Per Yahoo's best practices for high performance web sites, I'd like to remove Etags from my headers (I'm manually managing all my caching and have no need for Etags... and when/if I need to scale to a farm, I'd really like them gone). I'm running IIS7 on Windows Server 2008. Anyone know how I can do this? ...

ETag vs Header Expires

I've looked around but haven't been able to figure out if I should use both an ETag and a Expires Header or one or the other. What I"m trying to do is make sure that my flash files (and other images and what not only get updated when there is a change to those files. I don't want to do anything special like changing the filename or put...

How to programmatically create/update a TAGS file with emacs?

Is there any plugin for emacs to automatically update the TAGS file in my C project (for example on buffer save or access) or create a new one if there is no TAGS file present? I am running on Windows (without Cygwin), so all the fancy shell scripting does not help. I was hoping for a native emacs solution not using any external script...

Rails' stale? method for sitemap always returns HTTP 200

My Ruby on Rails application uses the following controller code to generate a sitemap.xml file: class SitemapController < ApplicationController layout nil def index headers['Content-Type'] = 'application/xml' last_post = Post.last if stale?(:etag => last_post, :last_modified => last_post.updated_at.utc) respond_to...

What takes precedence: the ETag or Last-Modified HTTP header?

For two subsequent requests, which of the following two headers is given more weight by browsers should one of them change: ETag or Last-Modified? ...

Rails - etags vs. page caching (file cache)

What would be some advantages of using etags/stale?/fresh_when? instead of page caching (on a file cache)? Apache automatically handles etags for static files, but even if it didn't, page caching would still be better since the Rails app doesn't even get called. So, in what instances would I use the methods provided by Rails (stale?/fr...

.htaccess not working - only caching images and not JS or CSS

Duplicate: Why isn’t my javascript & css caching ? I'm noticing that I'm only receiving 304 HTTP codes (cached content) for images but not JavaScript or CSS. My .htaccess file is: Options -Indexes Options +FollowSymLinks # Enable ETag FileETag MTime Size # Set expiration header ExpiresActive on ExpiresDefault "access plus 1 w...

Why isn't my javascript & css caching ?

It's appears ONLY javascript and css are not caching ... but images are caching. I am using Firebug and when I refresh the page, I notice in Firebug a lot of 200 HTTP responses for js/css but am receiving 304 HTTP codes (content not modified) for all of my images. So it appears that my JS and CSS are not caching. Also, when using YSlow...

Programatically removing etag suffix (change number) from the metabase IIS6

IIS 6.0 generates eTag values in the format of "hash:changenumber". The changenumber goes up every time IIS resets, so your eTag is only valid for the lifetime of your IIS process. Restart, number goes up, hash:changenumber != hash:changenumber+1. The fix for this is to hard-code the changenumber, which is possible using the Metabase E...

How do I support ETags in ASP.NET MVC?

How do I support ETags in ASP.NET MVC? ...

How to show function prototype in Emacs?

While in C-mode I can jump to a function using M-. on the function name....is there a way i can simply display the function prototype? (preferably as a tooltip or so) I often struggle to remember the exact order and types required by a given function. ...

Etags, II7, no web farm but getting 2 separate but different etags

We have a web server on II7. Upon watching the HTTP requests to our web server, we see an odd behavior. The server will return one of 2 etags. It's always one or the other, and there seems to be no pattern. Of course, this creates issues as the browser gets mixed signals and is commonly requesting the file. This Bi-modal behavior basica...

how does iis 7 generate etags

what method/algorithm does iis 7 use to generate etags. I'm looking for exact, not 'well they use checksum on the date' This leaves lots of questions. What algorithm for checksum, which date, which format of the date (short, utc, 'mm-dd-yyyy ttad', 'MMDDDYYY', etc) Thanks in advance. i have scoured the net and cannot find this answer....