unable to set cache expiration on in app.yaml for a python app

前端 未结 2 1291
孤独总比滥情好
孤独总比滥情好 2021-01-16 07:14

In my GAE app I am serving static content as follows (those are my entries in my app.yaml file):

handlers:
- url: /c         


        
2条回答
  •  深忆病人
    2021-01-16 07:58

    GAE should work fine with 10m value. Most probably that was because you were signed in with your google admin account. GAE returns no-cache for such accounts. Trying opening the same page in an incognito returns proper cache expiry times.

    By default GAE sets cache to 10 minutes, so even if you didn't set any expiry - you should see 10 minutes instead of no-cache.

提交回复
热议问题