apache能缓存数据说明
As mentioned already, the two styles of caching in Apache work differently,? In short, any content which is highly time-sensitive, or which varies depending on the particulars of the request that are not covered by HTTP negotiation, should not be cached. If you have dynamic content which changes depending on the IP address of the requester, or changes every 5 minutes, it should almost certainly not be cached. If on the other hand, the content served differs depending on the values of various HTTP headers, it might be possible to cache it intelligently through the use of a "Vary" header. If a response with a "Vary" header is received by? If for example, a response is received with a vary header such as;If the response contains an "Authorization:" header, it must also contain an "s-maxage", "must-revalidate" or "public" option in the "Cache-Control:" header.
What Should Not be Cached?
Variable/Negotiated Content
?will only serve the cached content to requesters with accept-language and accept-charset headers matching those of the original request.