0

Has anyone else had the issue with 2.2.6 and Varnish 5, where extra variables are included in the header?

My header retruns;

X-Magento-Cache-Control: max-age=86400, public, s-maxage=86400, max-age=0, no-cache, s-maxage=10

Where i would expect it to return;

X-Magento-Cache-Control: max-age=86400, public, s-maxage=86400

Does anyone know how this is possible please?

0

Apache module Mod_pagespeed was adding the extra headers in apache which were then appended to the magento headers.

Turns out that it only happens if varnish is enabled in the backend. If you run varnish and set the back end to built in cache then the pagespeed headers are not appended to the magento headers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.