You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kai Weber <ka...@glorybox.de> on 2009/06/05 10:54:46 UTC

Serving assets from another domain

Hello List:

I want to serve my assets (images, stylesheets, and JavaScript 
libraries) from another domain name to enhance the performance of my 
site. This is one of the recommended practices for enhanced speed from 
YSlow and Google's new Page Speed.

For example the configuration

@Inject
@Path("context:images/banner.gif")
private Asset banner;

should result in a path like 
http(s)://images.example.org/images/banner.gif where my applications 
main domain name is www.example.org.

How can I achive this? Where should I start looking to implement this 
feature?

Regards, Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Serving assets from another domain

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Fri, Jun 5, 2009 at 5:54 AM, Kai Weber<ka...@glorybox.de> wrote:
> Hello List:

Hi!

> How can I achive this? Where should I start looking to implement this
> feature?

In the mailing list archives. :-) There's a thread discussing and
giving solutions here:
http://www.nabble.com/%40IncludeStylesheet-and-non-local-CSS-to22726151s302.html#a22734741

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org