Problem with SEO and headers generated by your code
-
I tested many cache, minify and performance improvement plugins and yours is giving me by far the best results in GT Metrix, Page Speed Insights, tools.pigndom.com.
It took me a lot of testing but I got it to a point where it makes a huge difference in speed and scores (in GT Metrix went from a low B to a mid level A. In page insights from mobile score of about 45 to 84 and desktop from about 80 to 96), however, it has a massive glitch, when I run professional SEO tools to see how they respond to the header your plugin injects it can either cause huge random discrepancies on results, the response freezing or giving very different scores each time, so the speed score is great but the SEO scores are terrible and the whole purpose of improving speed was to get search engine positions. Something is wrong with the headers your plugin generates.
I found consistently in REDbot the same warnings in the header generated after your plugin, before your plugin my headers are perfect, they pass all tests and give the same results consistently, after your plugin I get this:
Content Negotiation (Content Negotiation response )
The compressed response is negotiated, but doesn’t have an appropriate Vary header.
The resource doesn’t send Vary consistently.
The response body is different when content negotiation happens.Caching
This response allows all caches to store it.
This response cannot be served from cache without validation.I have tested different changes in my .htacess files but it appears the problem is not coming from there. The vary settings and other things appear to be coming from some other thing your plugin does.
How can I make changes on your files so I remove those errors and warnings?
BTW I am using in conjunction with Rank Math and WebP Converter for Media but those 2 are not causing header errors when testing.
The topic ‘Problem with SEO and headers generated by your code’ is closed to new replies.