Re: Resource JS

2010-01-26 Thread nino martinez wael
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

2010-01-25 Thread 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

2010-01-25 Thread Jeremy Thomerson
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

2010-01-25 Thread nino martinez wael
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

2010-01-24 Thread 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

2010-01-24 Thread Martin Grigorov
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

2010-01-24 Thread Douglas Ferguson
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

2008-05-28 Thread Igor Vaynberg
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

2008-05-28 Thread ywtsang

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]