search

Home  >  Q&A  >  body text

Clear nginx file cache

Use nginx as web server. The server has a static excel template file. After making the changes, I found that after downloading the file, the changes did not take effect.
Looking at the returned header, we found that it was downloaded from the cache.


So I suspected that the nginx cache and file were read. Could someone please give me some advice on how to delete this cache file?

ringa_leeringa_lee2789 days ago504

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 17:21:02

    Wouldn’t it be nice if the update file comes with a version number

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 17:21:02

    Searchnginx etag

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 17:21:02

    I think this is just a matter of setting the http header.

    reply
    0
  • Cancelreply