>
> Given that clients might also want to follow the link and get the legend
> graphics, this could
> be coupled with a dispatcher callback that intercepts the legend graphic
> request and if it
> matches the one used to generate the PNG file, we could just shortcut and
> return the file on disk, getting some caching benefit
>

I was more thinking the GetCapabilities document could provide a URL
straight to those generated images. The GetCapabilities document is
supposed to link to a URL, nothing says that URL has to be a
GetLegendGraphic request (especially since GetLegendGraphics is an
 optional operation).

We'd still need the "last updated" information in the style files, which
> could become something standard, or maybe could be done by attaching a
> style specific listener to the catalog
>

You could also check resource modification time on the style file, and
compare against your generated image.
--
Jody
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to