问题
I test my website on gtmetrix.com it show me the following error to improve my website yslow scrore.
serve static content from a cookieless domain
how to solve this error?
回答1:
You should create some subdomains for example: media1.example.com
, media2.example.com
, media3.example.com
.
Configure those subdomains to point to your website as your main domain does.
In Prestashop backoffice go to Performances
and register your new content domains in the media
area.
Those domains will only be used to serve static content and will never be assigned cookies.
来源:https://stackoverflow.com/questions/44045532/how-to-solve-the-serve-static-content-from-a-cookieless-domain-in-prestashop-1-5