页面缓存更新问题

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
        expires      -1;
        error_log off;
        access_log /dev/null;
    }
    
    location ~ .*\.(js|css|html)?$
    {
        expires      -1;
        error_log off;
        access_log /dev/null;
        add_header Cache-Control no-cache;
    }

  

posted @ 2019-04-01 14:43  这个男人  阅读(131)  评论(0编辑  收藏  举报