Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19301

Lumaraf on "[Plugin: W3 Total Cache] Caching should not depend on exact case of Content-Type"

$
0
0

According to RFC 2616 ("Hypertext Transfer Protocol -- HTTP/1.1", 4.2 Message Headers) HTTP header field names are case-insensitive.
To match the RFC and improve compatibility the check for the "Content-Type" header in W3_PgCache#_is_cacheable_content_type() should be done with stripos instead of strpos.

http://wordpress.org/extend/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19301

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>