search

Home  >  Q&A  >  body text

php - linux nginx tomcat integration. What does expires 30d for filtering static files mean?

< /p>

What do 30d and 1h mean?

阿神阿神2839 days ago416

reply all(2)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 13:04:22

    nginxexpire指令是 控制页面缓存.

    The expires directive can control the "Expires" and "Cache-Control" headers in the HTTP response (which controls page caching)

    Refer to expires to control page caching

    Official documentation nginx expire directive

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:04:22

    Simply put, it is to control the cache time of static resource files in the browser, without having to download them from the server every time you request

    reply
    0
  • Cancelreply