Home  >  Q&A  >  body text

nginx caching problem

He has cached the HTML. I followed the online method to prevent him from caching the HTML, but it still doesn’t work. I think this is a strange problem. If I change the content, it will not be displayed. If I input a random character in the editor, he will Displays the last character written. . Ask God!

 location ~ .*\.(html|html)$
    {
      add_header
   }这个方法不好使
我想大声告诉你我想大声告诉你2713 days ago372

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-16 17:18:52

    Is it cached by nginx or cached by the browser

    reply
    0
  • Cancelreply