Now it's working:

Date: Sat, 15 Nov 2008 05:01:45 GMT
Expires: Sun, 16 Nov 2008 05:01:45 GMT
Cache-Control: public, max-age=86400
Content-Type: image/gif
Server: Google Frontend
Content-Length: 760
Connection: Close

I moved the images to a separate directory:

- url: /images
  static_dir: images
  expiration: "1d"

I also noticed an embarrassing error I had made:

- url: /images
  static_dir: static
  expiration: "1d"

Should be:

- url: /images
  static_dir: static/images
  expiration: "1d"

And maybe it will work if this declaration is moved before the /static
declaration:

- url: /static/images
  static_dir: static/images
  expiration: "1d"

- url: /static
  static_dir: static

On the other hand, I think it can be good to have images in a separate
directory.
--~--~---------~--~----~------------~-------~--~----~
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