What I was getting at was: /assets/... -- normal assets, w/checksums /assets.gz/... -- GZip compressed assets, w/ checksums
/xxx/... - redirects to /assets/... or /assets.gz/... I'm trying to think of a short, reasonable name for "/xxx/". Maybe we should give up, and have /a/ for the redirector, /ap/ for plain assets, and /az/ for GZip assets? And maybe /m/ for AMD modules? On Thu, Sep 12, 2013 at 12:25 PM, Thiago H de Paula Figueiredo < [email protected]> wrote: > On Thu, 12 Sep 2013 15:26:52 -0300, Howard Lewis Ship <[email protected]> > wrote: > > No, I think redirect-to-correct-url is a good idea; I'm just not sure >> what the URL will look like. >> > > Like any one created from an Asset. If you are checking the file against a > checksum, you know what the file is and where it is. So you can just use > AssetSource to get an Asset instance pointing to it and its toClientURL() > method provides you the URL to be redirected to. ;) > > > -- > Thiago H. de Paula Figueiredo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > dev-unsubscribe@tapestry.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
