Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Il_Picasso Posted November 16, 2016 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
SteffM Posted December 12, 2016 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
yacenty Posted December 20, 2016 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?
Jim M Posted December 21, 2016 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.