0

I have recently create gtmetrix report for my site, in that report I found Use cookie-free domains to 0 means nothing. My question is that how to use cookie free domain in magento 2.3.4

and i see here same question but not any answer

enter image description here

Any help would be appreciated.

Thanks.

asked Feb 10, 2020 at 10:45

1 Answer 1

0

Your main site needs cookies so that the php generated content is on a cookie domain.

Your static content, e.g. images, does not need to be a cookie domain. So create a subdomain static.example.com and configure it to serve images.

Update Base URL for Static View Files and Base URL for User Media Files in admin -> general -> web -> Base URLs.

answered Feb 14, 2020 at 15:48

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.