By the way, an optimization would be to put all those images in one
image file, and use background offsets and div sizes in CSS to control
the viewport (I believe this technique is called "spriting"). Gmail
does just that:
http://mail.google.com/mail/images/2/5/c/icons1c.png

This will reduce the number of http requests needed to initialize your
pages!

-Mahmoud

On Sep 16, 11:34 am, Mahmoud <[EMAIL PROTECTED]> wrote:
> We use Apache to serve up all static content in development mode, and
> dev_appserver for everything else. A build script updates a path
> variable that the html templates use to fetch the static content, so
> that static content is served by GAE.
>
> On Sep 13, 6:14 am, Sylvain <[EMAIL PROTECTED]> wrote:
>
> > Yes, I've seen many workarounds in this group.
>
> > But I just want to point this issue again because I think GAE needs a
> > good "web_dev_server" :)
>
> > Regards
>
> > Sylvain
>
> > On 13 sep, 11:56, "Barry Hunter" <[EMAIL PROTECTED]> wrote:
>
> > > Many developers on here have reported success with a caching proxy
> > > sitting in front of the dev server.
>
> > > I beleive the SDK doesnt implement caching for static files
> > > deliberatly, otherwise incorrectly used caching can hinder development
> > > (or simply that your config file has it enabled for production, but
> > > dont want it to work locally)
>
> > > If you are using and understand the caching headers properlly you
> > > should have no problems with a proxy.
>
> > > On Sat, Sep 13, 2008 at 10:20 AM, Sylvain <[EMAIL PROTECTED]> wrote:
>
> > > > Dev server is soo slow that it corrupts the web site
>
> > > > My web site is developped with 30 "small" pictures (1ko / 2ko)
> > > > Most pictures are loaded inside the CSS.
>
> > > > With the Dev server, many pictures are not displayed and it is perfect
> > > > in prod.
> > > > So now, it is very hard to debug.
>
> > > > I've stared the issues about it :
> > > >http://code.google.com/p/googleappengine/issues/detail?id=343
> > > >http://code.google.com/p/googleappengine/issues/detail?id=368
>
> > > > So, i hope this one will be fixed soon, because websites are more and
> > > > more complex and it will be very difficult to debug if the webserver
> > > > is too slow.
>
> > > --
> > > Barry
>
> > > -www.nearby.org.uk-www.geograph.org.uk-
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to