htaccess - How to force the client's browser to clear the cache?

前端 未结 12 1424
情歌与酒
情歌与酒 2020-12-07 14:23

For my site I have the following htaccess rules:

# BEGIN Gzip

AddOutputFilterByType DEFLATE text/text text/html text/plain tex         


        
12条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 14:50

    The most straight forward is to add filetime to the request. eg

    myfile.txt?2014-10-30-13:12:33

    versioning by date.

提交回复
热议问题