GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
When I look the page source over the Android I do not see the lines added by Quick Cache.
I didn't specify any user-agent exclusion than the default one (w3c_validator).
I found that it has conflict with Ninja Firewall plugin.
After I deactivate this plugin Quick Cache's note appears in the page source on mobile device.
@sboq Thanks for the heads up. If there's anything you know about that I can do to make Quick Cache compatible with Ninja Firewall, please let me know and I will look into that.
I have reported this to Ninja Firewall author few days ago and after the test he answered:
That plugin (QC) has a syntax error, in advanced-cache.tpl.php line 110.
The regex has an unmatched closing parenthesis:
"if(is_multisite() && preg_match('//files[/?$])/', $_SERVER['REQUEST_URI'])) return; "
Since that line affects multisite only , you may try to remove the unmatched ')' from the regex and check again if that works.
I have also turned the debug and I do have the following message regarding the Quick Qache:
Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 13 in …/public_html/wp-content/advanced-cache.php on line 155
@raamdev I submitted a pull request with a fix for this.
And I've just tested by removing the line 110 from the advanced-cache.php, but it didn't help.
So it's probably related to the warning message I have regarding the line 155. But I'm not sure this line can be removed without affecting the further testing so I'll leave it for you.