On Aug 10, 2007, at 12:18 PM, Alec Flett wrote: > Hey - > We've been using StaticURLParser to serve up our static files > (under pylons) but we've run into a few issues. > > One of the biggest is the ETags header. The problem is that we're > deploying across a bunch of machines in a cluster, and static files > get pulled out of SVN, which timestamps the files with the date as > it's checked out. This means that each machine has a different etag > for each file, because each file has a different date. >
An svn export will correctly maintain the server's timestamp for the file (the checked in timestamp). I typically try to use svn exports for production, but that's not always convenient. Apparently subversion can also maintain the timestamps during other commands via a 'use-commit-times' option in the config file. -- Philip Jenvey _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
