apache - Serve the following static resources from a domain that doesn't set cookies -
i have specific question regarding satisfying pingdom tools criteria of "serve following static resources domain doesn't set cookies".
my situation quite specific , i've googled extensively, followed multiple guides , went far asking hosting provider didn't there (which assumed).
this scenario:
i have website called "www.wheretofarminwow.com" , i've run speed test @ tools.pingdom.com , "serve following static resources domain doesn't set cookies" message.
i've moved static files wheretofarminwow.com site wtfiwstatic.com
and assumed domain "www.wtfiwstatic.com" cookieless because doesn't doesn't host static files, keep on getting "serve following static resources domain doesn't set cookies" message pingdom.
i've added htaccess rule on domain try not set cookies:
<ifmodule mod_headers.c> <filesmatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js|jpg|jpeg|png|gif)$"> header set access-control-allow-origin "*" header append vary: accept-encoding requestheader unset cookie header unset cookie header unset set-cookie </filesmatch> </ifmodule>
hoping bright community @ stack overflow give me insight on situation , perhaps guide me achieve goal.
thanking in advance,
johnny
ok, think figured out.
it turns out using cloudflare on wtfiwstatic.com, cloudflare sets cookie every request security reasons , can't disabled. hope helps in similar situation.
sources:
https://www.keycdn.com/support/how-to-use-cookie-free-domains/
Comments
Post a Comment