Hello there! I'm newbie here, so firstly let me say that i like your community and let me warn you that you're in big trouble if i'm about to stay here (because of my spammer-side). Just kidding. So, i'm webmaster of site with somewhere about 10k+ visits per day, and i'm using static subdomain for serving static content for a few months now (content like images, js scripts, css, jquery, flash etc). I didn't configure it much different than my main domain, it's actually just a subdomain (static.domain.com) which has much static content that is called from my main domain (i use smf forum, wp and joomla cms there). I read something about setting up "cookie less" subdomain, so i'm not sure if i should make any changes to configuration of my current subdomain? I believe that i don't have any cookies setted for static subdomain though. Anyone can suggest me if i should change something, or do something different in order to "speed up" serving of static content from my static domain? Regards, Dzonny
Hey man, I don't think using these forum scripts you can set up a cookie-less subdomain but it's worth a try. Just go to your DNS settings and set up an A name. I'd recommend setting up no more than four and spreading your static resources between them. One thing you could do is get Amazon Cloudfront and use that as a content delivery network with your four sub-domains like I do on my website maxvideogaming. If you want a a truly cookie-free domain, I'd go with another domain altogether like twitter have twimg.com
Hey hey, thanks for very fast anwer! I'm actually not that much "into" cookies, so i don't know much about it, but as far as i can see, there is no cookies in my browser from static.domain.com for now. Is that okay? I have few cookies from domain.com though. Will try to change DNS settings and set an A name, although i'm not sure what would that do actually? Thanks.
If subdomains don't have cookies then great. You're in luck. TBH though, I'm not sure how you'd set it up so all static content is automatically pushed to the static subdomain and if you choose to do so, the content delivery network. I use Wordpress and I use a plugin called W3 Total Cache to do this for me. Maybe there's a plugin for some of these forum scripts. vBulletin is pretty big, it'll probably have one. An A name is basically a sub domain, sorry I confused you with that.
Well my main though was to serve all images for smf forum, as long as avatars, attachments and stuff, and css and js files wich i added to it. I just change paths in smf configuration so they fit to static subdomain instead of default /images/ directory. The same is for attachmens and avatars. JS, jquery and other scripts is manually changed, so url is now static.domain.com, i guess that it's why i dont have any cookies from static domain now. So basicaly i don't need to change any DNS settings?