W3 Total Cache
[resolved] Caching should not depend on exact case of Content-Type (2 posts)

  1. Lumaraf
    Posted 3 years ago #

    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.


  2. Lumaraf
    Posted 3 years ago #

    Is there anything new on this bug? This still prevents caching of many pages when a plugin like disquis is installed.

    [edit]Just saw that the version was released which fixes this.[/edit]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic