Il_Picasso Posted November 16, 2016 Share Posted November 16, 2016 Hello, all the website tests suggest me to use a cookieless domain So I am wondering how to do that? I use Nginx, and cloudflare Link to comment Share on other sites More sharing options...
Ohio Guns Posted December 8, 2016 Share Posted December 8, 2016 I'm not sure this is possible with IPB. Link to comment Share on other sites More sharing options...
SteffM Posted December 12, 2016 Share Posted December 12, 2016 Hi, A cookie is attached to a domain. If you are serving your assets(.css, .js etc.) over the same domain, it sends the cookie with the HTTP request which is a waste of bandwith. What you can do is setup an alias domain, and point it towards the same forums, so your forums are accessable from both domains. Then goto IPB -> General Configuration -> Storage Configuration "Use custom url" - FIll in your alias domain for your forums so instead of requesting mydomain.com/plugin.js, it will request alias.mydomain.com/plugin.js Which will serve the same file, but from a different domain. A CDN will also do the trick Link to comment Share on other sites More sharing options...
yacenty Posted December 20, 2016 Share Posted December 20, 2016 What can we achive with such a trick? .JS? .CSS? what about pictures from our gallery? can we do something like img.domain.com/ and put our gallery images from this subdomain? Link to comment Share on other sites More sharing options...
Jim M Posted December 21, 2016 Share Posted December 21, 2016 3 hours ago, yacenty said: What can we achive with such a trick? .JS? .CSS? what about pictures from our gallery? can we do something like img.domain.com/ and put our gallery images from this subdomain? To get best results you'd want to serve all resources (images, JS and CSS) from a cookieless domain. Can see all options of items possible to change in ACP > System > Files > Storage Settings > Configuration Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.