Firefox 4 compatibility
The module doesn't seem to be compatible with Firefox 4. I've narrowed it down to the fact that the presence of the Vary header causes Firefox 4 not to send the If-Modified-Since header (only the If-None-Match header) which causes the message queue traversal to fail. I've temporarily worked around this by optionally adding the Vary header depending on the presence of "Firefox/4" in the user agent string : if (r->headers_in.user_agent == NULL || r->headers_in.user_agent->value.data == NULL || !ngx_strstrn(r->headers_in.user_agent->value.data, "Firefox/4", 9 - 1)){ ngx_http_push_add_response_header(r, &NGX_HTTP_PUSH_HEADER_VARY, &NGX_HTTP_PUSH_VARY_HEADER_VALUE); }
Would you happen to have a better / cleaner solution for my problem ? Thanks in advance for your help.
old firefox is old. Won't fix, although the Vary header could probably be be modified with the nginx headers directive.