Re: Resource JS
Should be the same thing.. 2010/1/26 Douglas Ferguson > I'm using modjk. > > > On Jan 25, 2010, at 4:05 PM, Jeremy Thomerson wrote: > > > How are you frontending Tomcat with Apache? If it's by proxying, you may > > just be able to configure it to do the gzip for you on anything in the > > resources "directory". > > > > -- > > Jeremy Thomerson > > http://www.wickettraining.com > > > > > > > > On Sun, Jan 24, 2010 at 10:30 PM, Douglas Ferguson < > > doug...@douglasferguson.us> wrote: > > > >> Hmm... Actually, I'm wanting to gzip them are they gziped? > >> > >> Another thought was to do something like this: > >> > >> Alias /resources/com.package/ > >> /user/local/tomcat5.5/webapps/resources/path/to/package > >> > >> So that apache can serve up the static content.. > >> > >> D/ > >> > >> On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: > >> > >>> On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: > I recently configured apache to gzip my js files instead of going > >> through tomcat. > > Can this be done for the js files that are loaded as resources? > >>> see > >>> Application.get().getResourceSettings().getJavascriptCompressor() > >>> > >>> if this returns "null" then any JavascriptPackageResource will be not > >>> compressed > > D/ > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > >>> > >>> > >>> > >>> - > >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >>> For additional commands, e-mail: users-h...@wicket.apache.org > >>> > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Resource JS
I'm using modjk. On Jan 25, 2010, at 4:05 PM, Jeremy Thomerson wrote: > How are you frontending Tomcat with Apache? If it's by proxying, you may > just be able to configure it to do the gzip for you on anything in the > resources "directory". > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Sun, Jan 24, 2010 at 10:30 PM, Douglas Ferguson < > doug...@douglasferguson.us> wrote: > >> Hmm... Actually, I'm wanting to gzip them are they gziped? >> >> Another thought was to do something like this: >> >> Alias /resources/com.package/ >> /user/local/tomcat5.5/webapps/resources/path/to/package >> >> So that apache can serve up the static content.. >> >> D/ >> >> On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: >> >>> On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: I recently configured apache to gzip my js files instead of going >> through tomcat. Can this be done for the js files that are loaded as resources? >>> see >>> Application.get().getResourceSettings().getJavascriptCompressor() >>> >>> if this returns "null" then any JavascriptPackageResource will be not >>> compressed D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Resource JS
How are you frontending Tomcat with Apache? If it's by proxying, you may just be able to configure it to do the gzip for you on anything in the resources "directory". -- Jeremy Thomerson http://www.wickettraining.com On Sun, Jan 24, 2010 at 10:30 PM, Douglas Ferguson < doug...@douglasferguson.us> wrote: > Hmm... Actually, I'm wanting to gzip them are they gziped? > > Another thought was to do something like this: > > Alias /resources/com.package/ > /user/local/tomcat5.5/webapps/resources/path/to/package > > So that apache can serve up the static content.. > > D/ > > On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: > > > On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: > >> I recently configured apache to gzip my js files instead of going > through tomcat. > >> > >> Can this be done for the js files that are loaded as resources? > > see > > Application.get().getResourceSettings().getJavascriptCompressor() > > > > if this returns "null" then any JavascriptPackageResource will be not > > compressed > >> > >> D/ > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Resource JS
Yeah you should be able to cache / compress resources with Apache http. If your resources are dynamic (session dependant) then offcourse it's not possible. 2010/1/25 Douglas Ferguson > Hmm... Actually, I'm wanting to gzip them are they gziped? > > Another thought was to do something like this: > > Alias /resources/com.package/ > /user/local/tomcat5.5/webapps/resources/path/to/package > > So that apache can serve up the static content.. > > D/ > > On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: > > > On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: > >> I recently configured apache to gzip my js files instead of going > through tomcat. > >> > >> Can this be done for the js files that are loaded as resources? > > see > > Application.get().getResourceSettings().getJavascriptCompressor() > > > > if this returns "null" then any JavascriptPackageResource will be not > > compressed > >> > >> D/ > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Resource JS
Hmm... Actually, I'm wanting to gzip them are they gziped? Another thought was to do something like this: Alias /resources/com.package/ /user/local/tomcat5.5/webapps/resources/path/to/package So that apache can serve up the static content.. D/ On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: > On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: >> I recently configured apache to gzip my js files instead of going through >> tomcat. >> >> Can this be done for the js files that are loaded as resources? > see > Application.get().getResourceSettings().getJavascriptCompressor() > > if this returns "null" then any JavascriptPackageResource will be not > compressed >> >> D/ >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Resource JS
On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: > I recently configured apache to gzip my js files instead of going through > tomcat. > > Can this be done for the js files that are loaded as resources? see Application.get().getResourceSettings().getJavascriptCompressor() if this returns "null" then any JavascriptPackageResource will be not compressed > > D/ > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Resource JS
I recently configured apache to gzip my js files instead of going through tomcat. Can this be done for the js files that are loaded as resources? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: change wicket resource (js) path
dont think this is possible. there are also plenty of other header contributions that are served from within other jars. -igor On Wed, May 28, 2008 at 5:40 AM, ywtsang <[EMAIL PROTECTED]> wrote: > > how can i change the wicket resource (e.g. wicket ajax js) path? > > i want to change it to point to our content server rather than to the web > server > -- > View this message in context: > http://www.nabble.com/change-wicket-resource-%28js%29-path-tp17511746p17511746.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
change wicket resource (js) path
how can i change the wicket resource (e.g. wicket ajax js) path? i want to change it to point to our content server rather than to the web server -- View this message in context: http://www.nabble.com/change-wicket-resource-%28js%29-path-tp17511746p17511746.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]