How to solve the serve static content from a cooki

2019-07-15 06:33发布

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条回答
霸刀☆藐视天下
2楼-- · 2019-07-15 07:00

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.

查看更多
登录 后发表回答