Hello all,

I’m exploring the possibility of adding ETag headers to images my Tapestry application is serving, to help improve performance on slower networks.

It seems that Apache Server automatically adds ETag headers to images sourced from static files (Tapestry @Asset), but not when Tapestry dynamically generates an image from a database BLOB (and without file extension, eg. .png).

Essentially, the app would need to return a “304 Not Modified” in response to a conditional If-None-Match request from the client, if the image hadn’t changed.

I couldn’t find anything about this in the Tapestry docs, and am wondering how others might have implemented ETag headers within their Tapestry applications.

Kind regards,

Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to