Replies: 0
Hi @braekling,
I noticed something strange when I switched the Piwik Mode from HTTP API to PHP API, in the plugin’s settings.
When it’s using PHP API, I find that there are three extra HTTP headers added to the page, when I read the headers using a service such as https://redbot.org. The three extra HTTP headers are:
Pragma:
Expires:
Cache-Control: must-revalidate
They appear exactly as above. In other words, the Pragma and Expires headers have no value at all.
But when I change the plugin back to using HTTP API, these three headers disappear completely (which is what I consider expected behaviour – they should not be there in the first place).
Do you have any idea why these three headers are added, when I change the Piwik plugin to use PHP API?
My Piwik installation is on the same server as WordPress, and everything else with the plugin works fine.