Which one to use : Expire Header, Last Modified Header or ETags
问题 I am running PHP on Apache, and am confused about how to implement server-side caching, in order to make the site load faster. What is the difference between the Expires , Last-Modified and ETag headers, and which one should be used in what situation? 回答1: You can use the Expires header in conjunction but regardless of the other two. It's universally supported by proxies and browser caches. The difference between ETag and Last-Modified stamps is more semantic. ETags are opaque to clients. It