How to solve the serve static content from a cookieless domain in prestashop 1.5?

房东的猫 提交于 2020-01-04 05:41:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!