CSS File Not Updating on Deploy (Google AppEngine)

后端 未结 12 1908
既然无缘
既然无缘 2020-12-09 03:39

I pushed a new version of my website, but now the CSS and static images are not deploying properly.

Here is the messed up page: http://www.gaiagps.com

Appeng

12条回答
  •  醉话见心
    2020-12-09 03:57

    If you use 2020 GCP App Engine, just add default_expiration to your app.yaml file and set it to 1m.

    default_expiration: "1m"
    

    More info: https://cloud.google.com/appengine/docs/standard/python3/config/appref/#runtime_and_app_elements

提交回复
热议问题