How to get rid of -ver-blah-blah-blah.gif versioning ?
I am upgrading from 1.4 to 6.7 Is the random string appended used for anti-caching or object versioning ? I try to redeploy and the appended string is identical !? Now I am stuck by how to get rid of image/resource versioning , and enable caching ... I use general Image , or override shouldAddAntiCacheParameter (return false) But I still cannot get rid of the versioning string... Anyway to disable that ? One more question wicket:linkimg src=xxx.png/wicket:link How to enable caching and disable versioning string for this img ? (there is no wicket:id assigned)
Re: How to get rid of -ver-blah-blah-blah.gif versioning ?
Hi, Check https://cwiki.apache.org/WICKET/caching-in-wicket-15.html On Wed, May 1, 2013 at 6:36 PM, smallufo small...@gmail.com wrote: I am upgrading from 1.4 to 6.7 Is the random string appended used for anti-caching or object versioning ? I try to redeploy and the appended string is identical !? Now I am stuck by how to get rid of image/resource versioning , and enable caching ... I use general Image , or override shouldAddAntiCacheParameter (return false) But I still cannot get rid of the versioning string... Anyway to disable that ? One more question wicket:linkimg src=xxx.png/wicket:link How to enable caching and disable versioning string for this img ? (there is no wicket:id assigned) -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/
Re: How to get rid of -ver-blah-blah-blah.gif versioning ?
Hi thanks. But it doesn't mention how to turn off the -ver-blah-blah-blah string. I just want a general xxx.png , not xxx-ver-7E49549BCE322EACE0C8F26B4CD553C5.png 2013/5/2 Martin Grigorov mgrigo...@apache.org Hi, Check https://cwiki.apache.org/WICKET/caching-in-wicket-15.html On Wed, May 1, 2013 at 6:36 PM, smallufo small...@gmail.com wrote: I am upgrading from 1.4 to 6.7 Is the random string appended used for anti-caching or object versioning ? I try to redeploy and the appended string is identical !? Now I am stuck by how to get rid of image/resource versioning , and enable caching ... I use general Image , or override shouldAddAntiCacheParameter (return false) But I still cannot get rid of the versioning string... Anyway to disable that ? One more question wicket:linkimg src=xxx.png/wicket:link How to enable caching and disable versioning string for this img ? (there is no wicket:id assigned) -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/
Re: How to get rid of -ver-blah-blah-blah.gif versioning ?
The link at the bottom of the given wiki page has: To disable caching altogether (e.g. for performance comparisons) use getResourceSettings().setCachingStrategy(NoOpResourceCachingStrategy.INSTANCE) On 01/05/2013 1:05 PM, smallufo wrote: Hi thanks. But it doesn't mention how to turn off the -ver-blah-blah-blah string. I just want a general xxx.png , not xxx-ver-7E49549BCE322EACE0C8F26B4CD553C5.png 2013/5/2 Martin Grigorov mgrigo...@apache.org Hi, Check https://cwiki.apache.org/WICKET/caching-in-wicket-15.html On Wed, May 1, 2013 at 6:36 PM, smallufo small...@gmail.com wrote: I am upgrading from 1.4 to 6.7 Is the random string appended used for anti-caching or object versioning ? I try to redeploy and the appended string is identical !? Now I am stuck by how to get rid of image/resource versioning , and enable caching ... I use general Image , or override shouldAddAntiCacheParameter (return false) But I still cannot get rid of the versioning string... Anyway to disable that ? One more question wicket:linkimg src=xxx.png/wicket:link How to enable caching and disable versioning string for this img ? (there is no wicket:id assigned) -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org