Google App Engine edge caching via cache-control?

Viewed 954
1 Answers

You can set the cache in your app.yaml file for static files

- url: /static
  static_dir: static
  expiration: 10m

You can set a a default cache in your app.yaml file

application: my-app
version: 1
runtime: python27
api_version: 1
threadsafe: yes
module: default
default_expiration: "1h"
instance_class: F2

For caching json/response data from request handlers you can use Memcache

Related