What's the recommended method to reference assets in a .css file - for
example background images?

Currently I use a hard-coded relative URL, but this has the drawback
of causing the browser to cache the resource after it's changed
leading to browsers caching old resources unless I change the name of
the resource.

I've seen one suggestion to pull that particular css out of the css
file and add it as part of a layout so it's included on each page and
a ${asset} reference can be used, but that kind of defeats the purpose
of using an external css file.

What are people generally doing here?

-Dave

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

Reply via email to