Magento – How to Configure Varnish with mod_pagespeed

varnish

I installed mod_pagespeed on my dedicated server.
but when i configure varnish on this server i got error max age should to be 1.
I need to know that can we use both varnsih and mod_pagespeed on same url.
Like can it both work well if both are working on server.

Best Answer

As well as installing mod_pagespeed you need to set it up correctly:

https://developers.google.com/speed/pagespeed/module/downstream-caching

You will also have to make sure your version of mod_pagespeed supports 'Varnish' as this is currently an 'experimental feature'.

Related Topic