Hey Mark,
I think adding a ? is a pretty brittle solution for cache busting
static resources. What about your css containing for example @import
url("base.css");. The base.css won't be cache busted as it is part of,
say, your style.css.
The HST by itself does not add any expires / cache headers afaik. It
is just default managed by the container (tomcat). We normally add
caching in a proxy like mod_cache / squid / varnish. If your static
files change more frequently than average, set an expires of, say a
day. If that is not good enough, I'd recommend changing the ccs name
when changed during a new deploy, for example rename style.css to
style_v1.css (including imports of course). Also note this is not
really HST specific but just plain container behavior which afaik
every project regardless using HST has to deal with.
Now, for the 7.10, we have moved static resources (optionally) to the
repository, and made it very easy to change them locally (with direct
auto reload in browser). Because we now manage resources and not the
container, we take care of cache busting by prefixing a hash in the
URL. So, for the 7.10, you'd be helped, but you have to wait a little
before the release is available
Regards Ard
> To unsubscribe from this group and stop receiving emails from it, send an email to
hippo-communi...@googlegroups.com.
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142
www.onehippo.com