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?

Chirag Patel
6,1662 gold badges26 silver badges66 bronze badges
asked Nov 15, 2018 at 3:21

1 Answer 1

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.

answered Nov 19, 2018 at 3:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.