On 9/18/06, Ryan Sonnek <[EMAIL PROTECTED]> wrote:


On 9/18/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:

On 9/18/06, Ryan Sonnek < [EMAIL PROTECTED]> wrote:
+1 for versioned _javascript_.  I am seeing more and more people suggest putting something like "?rand=132123" into their css/_javascript_/image urls to avoid this kind of caching.

that is idiotic.

why the hell would you want to add something random into _javascript_ and css? those are static 99% of the time! if it by default appended the last_modified file date i would be much more impressed

Wow...
it's the same damn concept.  Chill....  you're right that having the "random" info be the last modified date is the best solution.

no its not at all the same concept. a random param will make your browser reload those resources on _every_ request. why would you want to do that? the _convention_ for js and css files are that they are static, so appending the random string ot the url should be _configuration_. wasnt this what ror was all about?

FYI: Ruby on Rails does this automatically for you...  =)

and we have NonCachingImage

And that's only useful for "images" right?  CSS and Javascirpt are still SOL?

yes, they are. and this is a tiny subset of the usecases. there is nothing stopping you from writing small components that append the random param where necessary. take a look at code to NonCachingImage - there are only about 5 lines of code that make it work.

-Igor
 

-Igor



On 9/18/06, Martijn Dashorst < [EMAIL PROTECTED]> wrote:
To prevent these things from happening, could we add a version number
to the script? So wicket-ajax-1.2.2.js? that would prevent browser
caching from giving support headaches.

For Wicket snapshots, we could generate the current time in milli's as
a version number.

Martijn

On 9/18/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Selects should be working with latest svn. Don't forget to clear IE's
> cache, it tends to help.
>
> -Matej
>
> Stefan Lindner wrote:
> >> <select> tag had a problem in Model Dialogs in IE. But it should have
> > been
> >> solved by now. Try to do a svn update to get the latest model window
> > code.
> >
> > I did a svn update but select does still not show up.
> >
> >> I can imagine autocomplete not working, perhaps the autocomplete div
> > has
> >> lower z-index. Anyway, if you need autocomplete/datepicker/other
> >> _javascript_ components that have absolute positioning, you may need to
> >> use the modal window in "page mode" - with iframe inside.
> >
> > In page mode everything works: auto completion and select. Thank you
> > fort he hint!
> >
> > Stefan
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


--
Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to