HTTP: Generating ETag Header

后端 未结 7 1645
無奈伤痛
無奈伤痛 2020-12-05 14:16

How do I generate an ETag HTTP header for a resource file?

7条回答
  •  孤街浪徒
    2020-12-05 14:20

    I would recommend not using them and going for last-modified headers instead.

    Askapache has a useful article on this. (as they do pretty much everything it seems!)

    http://www.askapache.com/htaccess/apache-speed-etags.html

提交回复
热议问题