How to set “expire” header when serving static files with actix-files?

前端 未结 0 1963
轮回少年
轮回少年 2021-01-24 01:57

I want to set a cache TTL for static files using actix_files.

Like in Nginx config: expires max; will add such header: expires: Thu, 31 Dec 2037 23:55:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题