Flask static file Cache-Control

后端 未结 2 1131
孤街浪徒
孤街浪徒 2021-01-03 21:03

I\'m trying to set a reasonable cache expiry for my JS files while in development. I have the standard setup, where HTML, CSS and JS are living under the static

2条回答
  •  一个人的身影
    2021-01-03 21:57

    You may want to look at webassets to manage the cache expiry. It works in both development and production environment.

提交回复
热议问题