Tag Info

Hot answers tagged

42

@toomanyairmiles is partially correct - the purpose of this technique is to allow parrallel connections from the web-browser to the server. Web browsers should allow a minimum of two simultaneous connections to a single host, but many new browsers can manage up to 60. Regardless, concurrent simultaneous connections between browser and webserver(s) is a major ...


17

CloudFront with CNAMEs and HTTPS is not supported, see the first note in the CloudFront CNAME documentation. I don't think any of the low cost CDNs have support for CNAMEs and HTTPS together, to do that they would have to have some way for you to upload your unencrypted certificate to their CDN network.


13

Aside from use of CDNs, using separate domains for static data also means: You can use a lightweight web server that doesn't have to load all the modules/extensions that your dynamic content web server has to load on every single request. Not having to scan each directory in the URI path to read .htaccess files also increases the number of simultaneous ...


12

I don't know of a compressed version out there but you might want to create a saved Google search to keep yourself updated. You could submit it to http://www.cdnjs.com and it has a shot being hosted by them for free. Also, it looks like you could get an uncompressed version from here, http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css. Finally, ...


11

Your best solution is probably http://www.coralcdn.org or using Google's App Engine. It also depends on how much content you think will be downloaded from your site. I know Amazon Cloud Front isn't free but it does only cost $.12 per GB per month in the US. See pricing here, http://aws.amazon.com/cloudfront/#pricing.


10

Definition Wikipedia says it well: A content delivery network or content distribution network (CDN) is a system of computers containing copies of data, placed at various points in a network so as to maximize bandwidth for access to the data from clients throughout the network. A client accesses a copy of the data near to the client, as ...


10

PLEASE NOTE THE EDITS & UPDATES BELOW As of me writing this (May 23 2012), SSL is supported via the CloudFront distribution URL only. Meaning, you cannot CNAME the SSL URL. Concretely, you can reference an item via SSL as: https://[distribution].cloudfront.net/picture.jpg but not: https://cdn.mydomain.com/picture.jpg where cdn.mydomain.com is a ...


10

CloudFlare, in most cases, does not cache HTML. This is because we don't want to show stale dynamic content. That said, the system can help the performance of even dynamic content in four primary ways: CloudFlare can route traffic over preferred network routes that are often more efficient than what a request would normally take. For sites that get a lot ...


10

Many sites have quite a lot of cookies set, these cookies have the purpose of supporting some kind of state. By putting the static (stateless) resources on a completely different domain you can reduce the size of the http requests. In some cases there are so many cookie that a single http request takes two TCP packets to be transmitted. So having a separate ...


8

Specifically for jQuery UI there's a MAINFEST file at http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/MANIFEST which includes paths relative to that file for the jQuery UI files. The CSS file in your example actually does exist. I'm seeing CSS at: http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css Maybe I'm ...


8

No, this will not improve your ranking. Links from other websites, specifically websites with related content that rank well for the same things you hope to rank well for, help you rank better. Sharing a resource does not with SEO nor is Google Analytics used towards this purpose. Now if you provide a useful tool other websites may link to you because of it ...


8

Web browsers can only download two items at once, so the more you use resources hosted on external domains the faster a page loads. This applies to everything from images to javascripts. Many companies also use a CDN, a tool which ensures the end user gets their data from a server that is geographically close to them, which also increases site performance ...


8

Yes, it's a caching reverse proxy. "It depends". By default only things like images and CSS are cached, but you can set the cache level per zone and set Page Rules to override what is cached or should not be cached. Static HTML can be forced to be cached by a page rule, but dynamic content obviously cannot. The exception here is if you have the Business or ...


7

Pretty much all of Yahoo's Best Practices can be implemented without even touching the site design in any way. Minimize HTTP requests by combining all CSS into one file and all JS into one file. Use Gzip. Set good Expires headers. These rules could affect the design: Reduce the Number of DOM Elements - worth looking at, you should be able to reduce the ...


7

Gzip is probably the most drastic thing you can do. Making sure all you're css and js files are minimized helps. check that you are not loading js libraries or css that you do not need. Most users will cache these so after the first page it's not all that imprortant. Other than that make sure caching is working properly, like not re-parsing a page for ...


7

We decided to use Amazon S3 when we built a web app which delivers Gigabytes of HD photos and videos to our subscribers. It was an absolute no-brainer for us. The cost savings were outrageous. We have had two service outages with S3 (along with every other web startup who uses S3). They weren't disastrous. Then we added CloudFront on top of it it just ...


7

You shouldn't switch to a CDN too early. Read the update on hacked.com's experience with a CDN. If you don't have millions of visitors per day and your visitors are not distributed across a wide geography, then a CDN might slow your site down. Instead, it would be wise to plan for using a CDN at some time in the future when designing your site, but not ...


7

The technology you're looking for is called Origin Pull. I'm not sure about Cloudfront specifically, but most CDNs are able to offer this.


7

Justin Dorfman manages http://www.bootstrapcdn.com/ which has version 2.3.1 (at the time of editing) Complete CSS (Responsive, With Icons): //netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css Complete JavaScript //netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js GitHub Repo ...


7

To clarify -- yes, we offer a CNAME pointing option that is available for paid level plans (business level and above) whereby you can point CNAME records through CloudFlare while continuing to use your own DNS. That being said, we operate a global DNS network with 23 data centers, and have routinely been shown by independent groups to be #1 or #2 in terms of ...


7

While Imgur is an image hosting service, their service is intended for the images to be commented upon, rated and shared within that site by members of their community. Their TOS (under "Stuff not to do") does state "don't upload .. advertising (and) solicitations". Even if your e-commerce site doesn't sell products or services, the TOS also specifically ...


7

No. This will not make your site faster and is unnecessary. Multiple HTTP calls slow down your website, not speed it up. To make your CSS load as fast as possible: Minify it Compress it using gzip (mod_deflate) Serve it from a CDN Once the browser has the file it will cache it and no more requests will need to be made which is as fast as it gets.


6

Stack Overflow (and thus by definition, this site) use http://imgur.com/ as they've just launched a brand new API. I'm not familiar with it as I haven't used it, but I had a discussion with Womble (the developer who designed it) about it and it seemed pretty neat.


6

An issue might be DNS or keep-alive -- that is, the browser already has the IP address for your server and has a connection open to it, whereas it has to resolve the CDN's server's name and then open a new connection there, and one of those or both constitute the delay you're seeing. Spriting, although still a good idea, wouldn't help those problems. ...


6

Yes, Amazon Cloudfront can now serve GZip'ed / HTML Compressed content to end users fairly easily. This used to be rather hard, but Amazon added this to Cloudfront around November 2010. What you are looking for is called "custom origin". The gist of it is: You set up your own web server, and configure this server to correctly compress content for ...


5

I decided to employ the use of a CDN to increase the download speed of files for users across the globe. Generally speaking, delivering really small files can be done easily via nginx from a separate subdomain, as 30 milliseconds extra to grab a css won't exactly kill your web application. When it comes to delivering larger files, a CDN can really shine, ...


5

I've tried CloudFlare, but I haven't found it very reliable (even as DNS). Your best bet is Google App Engine; I'm very happy with it. It's free for reasonable amounts of traffic.


5

In both cases jquery is being loaded from mountain view servers I don't think this is true. As you said, ajax.googleapis.com is 'located' in Mountain View (according to Geo tools). This server is responding (ping) in 24 ms (my location: Switzerland), but with speed of light it actually needs 68 ms. So I don't get routed to Mountain View at all, since ...


5

I just figured this out. That cdn is using a Script called convert_to_webp. I can't tell you what language it was written in. It is short for Convert to webpage, which accepts a boolean value(true or false) If covert to webp is true you must Save the Page as HTML. If you want the actual picture, go to the link you provided in your post, and change true ...



Only top voted, non community-wiki answers of a minimum length are eligible