On Thu, 2010-02-18 at 18:15 +0100, Guilhem Bonnefille wrote:
> Hi all,
> 
> 2010/2/18 Jocelyn Jaubert <jocelyn.jaub...@gmail.com>:
> > I will look tonight if it is simple to use ETag with viking and
> > libcurl - it should only be a matter of adding "file.etag" alongside
> > the image file.
> 
> Perhaps can we store this ETag *in* the image. PNG file supports text
> data to be stored in. gdb-pixbuf library allows to deal with this
> info.
> IMHO, storing ETag in the image file would be better for consistency:
> a single file to manage, like any other tile source.
> 

It you wanted to implement something specifically for mod_tile then you
could just calculate the md5sum of the file to regenerate the ETag
value. This would be completely non-portable and I would not recommend
doing it like this except perhaps as a quick experiment.

Other servers may generate the ETag using a completely different method.
The Apache "FileETag" directive lets you generate the ETag from an
arbitrary combination of the file size, timestamp and filesystem inode.

        Jon





------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to