On Tue, Oct 2, 2012 at 6:46 PM, dickster <derek.i...@gmail.com> wrote:
> i tried using...
> getResourceSettings().setCachingStrategy(new
> FilenameWithVersionResourceCachingStrategy(new
> MessageDigestResourceVersion()));
>
> ...but not all of my urls are rewritten.  the wiquery ones are but the one's
> i've added via...
>  renderHead(response) {
>    response.renderCssReference("blah");

What kind of CSS this produces ?
I think this generates:
<style>
blah
</style>
directly in the page markup. If I'm correct then there is no need to
add anti-caching here because next render of the page will deliver
whatever is needed.
Only external file resources can be cached.

> }
> ...don't get appended with version MD5.
> do i have to use different technique for adding them?  (is my current way of
> adding them not the preferred way?)
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Appending-to-CSS-url-to-prevent-caching-tp4652508p4652618.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to