Wow...I'm excited to play with the caching support. Thanks
Guillaume! If I find out anything about the known issue I will pass
it along ASAP.
On Jul 8, 3:17 am, Jeff Schwartz <jefftschwa...@gmail.com
> Thanks for all your hard work, Guillaume. I intend to take advantage of
> caching so I especially appreciate this feature though I will have to figure
> out how to implement routing into my app as I am not using the routing
> facility at this time though I had planed on going to a more restful url
> A few months back I had mentioned in a post to the group that I had a
> problem using an include that was inside an each closure in my template
> files. It would cause the page rendering to abort after the 1st iteration of
> the closure. Being unable to rely on the include meant that I would have to
> hard code a common page element in all the pages that used it. I remember
> thinking at the time that the problem might have something to do the file io
> associated with opening the include more than once. Of course this was just
> a hunch but it might be worth looking at.
> Thanks again for your dedication and commitment to Gaelyk.
> On Wed, Jul 7, 2010 at 7:01 PM, Guillaume Laforge <glafo...@gmail.com
> > Hi all,
> > I'm very pleased to announce the release of Gaelyk 0.4.1.
> > You can download Gaelyk, its JAR or the template project, from the download
> > page:
> > So what's new in this release?
> > - I've updated Gaelyk and the template project to using GAE SDK 1.3.5
> > and Groovy 1.7.3.
> > - There are new variables in the binding, such as *app.id
> > app.env.name
, and app.env.version*.
> > - I added a *log variable in the binding*, so that you can easily log
> > from groovlets and templates.
> > - I updated the localMode binding variable implementation to use the
> > new underlying environment information.
> > - There are *new methods on BlobKey* to allow easy reading of the
> > resource with an input stream or a reader (*withStream* and *withReader
> > *).
> > - I've fixed some minor bugs.
> > - And best for the end: there's now an experimental *Memcache caching
> > support for groovlet and template output*, when specifying a cache
> > duration in the URL routes.
> > Those updates and new features are obviously documented on the tutorial
> > page:
> > Let's have a closer look at the caching aspect:
> > - You can now add something like *cache: 10.seconds* at the end of your
> > URL routes, to tell Gaelyk to store in Memcache the output of your groovlets
> > and templates.
> > - From some manual and non-scientific experiments, on some heavy pages,
> > I've noticed the caching could improve the delivery of the page by 50% or
> > so. Your mileage may obviously vary!
> > - This feature works both for Groovlets and Templates.
> > - Since only raw types like strings and byte arrays are stored in
> > Memcache, I hope the cached output can resist a GAE loading requests. I'd
> > love to hear from you on that, whether my assumption is true or not. That
> > said, we can't totally escape the "loading request", since the application
> > will have to be deployed before being able to serve the cached content!
> > - There's some "last-modified" support, so a browser sending such
> > requests shouldn't download the content again (and not fetch it again from
> > the GAE memcache, but from the desktop browser local cache). I've not tested
> > that very thouroughly though. I also haven't added ETag support either.
> > I said earlier that this feature is "*experimental*", as I've found a
> > known issue: if you're using includes in your templates (ie. in the one you
> > want to cache), the various outputs of all the templates is a bit mixed up,
> > and I couldn't figure out why. So *I need your help*, and I'd really like
> > to get an external pair of eyes to have a look at that and tell me what's
> > wrong there, so that we can fix that for the next version.
> > I think that's all for tonight!
> > Have fun with Gaelyk!
> > --
> > Guillaume Laforge
> > Groovy Project Manager
> > Head of Groovy Development at SpringSource
> > --
> > Vous recevez ce message, car vous êtes abonné au groupe Google
> > Groupes Gaelyk.
> > Pour envoyer un message à ce groupe, adressez un e-mail à
> > gae...@googlegroups.com
> > Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse
> > gaelyk+un...@googlegroups.com
> > .