I've seen a discussion over the past few days about relative vs absolute paths in wicket. I'd like to pose a similar question and see if wicket can support this usecase.
Ruby on Rails has this new feature where they will automatically convert images and javascript references to use a different domain name (a.k.a. asset server). This allows for the application to bypass the browser limitation of "two resources per domain at a time". I would like to know if I can do something similar in wicket. for example, I have several servers (asset1.myserver.com, asset2.myserver.com), and I would like to use a wicket ResourceReference that will automatically (or randomly) choose between my servers for improved performance. Something like: add(new AssetResourceReference(MyClass.class, "javascript.js", new String[] {"asset1.myserver.com", "asset2.myserver.com"})); The question is, can something like this work? can wicket generate absolute urls, or does wicket only deal with relative urls? This would be a big deal for working with "high traffic" wicket sites. Ryan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user