<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MaxCDN Blog &#187; Tips and Tricks</title>
	<atom:link href="http://blog.maxcdn.com/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.maxcdn.com</link>
	<description>All things MaxCDN</description>
	<lastBuildDate>Sat, 21 Jan 2012 18:05:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ten Tips On Saving Bandwidth</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/ten-tips-on-saving-bandwidth/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/ten-tips-on-saving-bandwidth/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 16:48:58 +0000</pubDate>
		<dc:creator>Taylor</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[reduce]]></category>
		<category><![CDATA[saving]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=891</guid>
		<description><![CDATA[Saving bandwidth on your website is one ideal way to reduce the bills you need to pay. Like many shared hosting companies, you may have &#8220;unlimited&#8221; bandwidth and it may not be a huge factor to you, but what should be is your site&#8217;s reliability, uptime, and performance. If you&#8217;re receiving too many visitors, they [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="Image Optimization" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/file-differences.png" alt="" width="522" height="390" /></p>
<p>Saving bandwidth on your website is one ideal way to reduce the bills you need to pay. Like many shared hosting companies, you may have &#8220;unlimited&#8221; bandwidth and it may not be a huge factor to you, but what should be is your site&#8217;s reliability, uptime, and performance. If you&#8217;re receiving too many visitors, they can potentially shut down your website for all the content they are downloading off your server.</p>
<p>If your website is slow, it&#8217;s most likely the case that your website is too large. Here are our tips on how to save bandwidth without doing all too much!</p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<ol><strong>&nbsp;</p>
<li><span style="font-weight: normal;"><strong>Images are bloated; make sure they&#8217;re optimized! </strong>It&#8217;s clear that images take up a major part of any modern website, but the question is, what can you really do? The only thing you can do is make sure they&#8217;re optimized! Too keep it simple, make sure to use the functionality of Photoshop&#8217;s &#8220;Save for Web&#8221; features. Using Photohop&#8217;s web features, you&#8217;re able to create images that are optimized and not too large to download. If you want more information on image optimization, we have a whole post written on just this! Vist our <a href="http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/">image optimization post</a> for more details. Also, you should use sprite maps, which are simply images stuck together, on your website. To do this, take a look at this article on <a href="http://css-tricks.com/158-css-sprites/">CSS-Tricks</a> and <a href="http://spriteme.org/">SpriteMe</a>.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Pay attention to how much code you use! </strong>This is one obvious fact, but the more code you use for your website, the longer it&#8217;ll take to download and the bigger it&#8217;ll be. When writing HTML, try to keep it in an orderly format without using too much code. You can use services like <a href="http://tidy.sourceforge.net/">HTMLTidy</a> to compress your HTML documents. Just like HTML, you can also compress your CSS files also using services like <a href="http://www.cleancss.com/">Clean CSS</a>. CSS and HTML comments will also add bloat, so try to use them sparingly in a production website. There are plugins for WordPress you can use, like <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a>, to compress your source code files entirely.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Take advantage of GZIP compression! </strong>Not only can you compress your source code into some hard-to-read file, your server can also compress your files using GZIP automatically. GZIP will compress your files delivered to your users, if their browser supports it (all modern browsers do), and will be uncompressed once they receive the file. To enable GZIP, take a look at the <a href="http://httpd.apache.org/docs/2.0/mod/mod_deflate.html">Apache module &#8220;deflate&#8221;</a> or the <a href="http://wiki.nginx.org/HttpGzipModule">GZIP module available in Nginx</a>.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>People might steal your bandwidth!</strong> When people are linking to your images on your server, they are &#8220;stealing&#8221; your bandwidth via hotlinking, or linking to your content on a different server directly. This could become expensive in case the file is placed on a popular site. Luckily, you can <a href="http://altlab.com/hotlinking.html">disable this easily</a> and save bandwidth if it&#8217;s happening to you!<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Use CSS styling as much as you can! </strong>CSS has been given to you for one reason, to style websites without images! CSS does one amazing job and with CSS3, you can achieve more like rounded corners and shadows without using any images. If you can do it using CSS, go for it.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Tables are so Web 1.0; use &lt;DIV&gt;/&lt;SPAN&gt;/CSS to style your website! </strong>That&#8217;s right web developers! Don&#8217;t be lazy and use those tables! You should rather turn divs and spans into a styled table instead of using the table attribute in HTML. The table attribute is too old and takes too much code to manage; using divs and spans will reduce the size of your HTML file.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Repeated images are not old school! </strong>Even though repeated images can be associated with those old websites back in the early days of the internet, let&#8217;s not think of that. Instead, when you are designing your website, design it in a way that if you have any type of repeating pattering, save it as a tiny image and let CSS repeat the image for you.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Take advantage of CDNs! </strong>One easy-to-achieve way of saving bandwidth is to direct your files elsewhere, or in this case, a CDN like us <img src='http://blog.maxcdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Not only will a <a href="http://blog.maxcdn.com/tips-and-tricks/how-to-speed-up-your-website-with-webpagetest/">CDN speed up your website</a>, it will also save you bandwidth as it&#8217;s directing the content elsewhere.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>Search engines will crawl on you!</strong> Search engines, especially Google, will crawl your sites like bandwidth is never ending. You can use <a href="http://www.google.com/webmasters/tools/">Google Webmaster Tools</a> to reduce how often they will go through your website.<br />
</span></li>
<li><span style="font-weight: normal;"><strong>AJAX is there to help!</strong> AJAX was made for one reason, loading content dynamically without refreshing your browser. Because of this, durring that refresh, a good portion of your site content is left unchanged. You could implement AJAX so when a user clicks on a link, it&#8217;ll only load the needed content. If the theme of your website is constant, AJAX is one possibility for you. Besides, you could add in some fancy transitions too and your users will love you for having them! Think of Twitter or Facebook as they both rely on AJAX quite a bit.</span></li>
<p></strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong></ol>
<p><strong> </strong></p>
<p>&nbsp;</p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p>We hope our bandwidth saving tips will help to speed up your website and reduce those bills!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/ten-tips-on-saving-bandwidth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keep Your Joomla! Site Lightning Fast!</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/keep-your-joomla-site-lightning-fast/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/keep-your-joomla-site-lightning-fast/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 20:06:53 +0000</pubDate>
		<dc:creator>PeterWesten</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[cdn for joomla]]></category>
		<category><![CDATA[faster]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[Peter van Westen]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=1023</guid>
		<description><![CDATA[Joomla!® is one of the top 3 CMS solutions in the world. The power of Joomla lies in the many available extensions. If you need a certain functionality in Joomla that it doesn’t have by default, there is a large chance that one of the 7000+ extensions will provide you with the solution. Want a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1099 alignright" title="Joomla Logo" src="http://blog.maxcdn.com/wp-content/uploads/2011/06/joomla-logo-2.png" alt="" width="180" height="123" /></p>
<p>Joomla!<em><sup>®</sup> </em>is one of the top 3 CMS solutions in the world. The power of Joomla lies in the many available extensions. If you need a certain functionality in Joomla that it doesn’t have by default, there is a large chance that one of the 7000+ extensions will provide you with the solution.</p>
<p>Want a commenting system? There are extensions for that. Want advanced SEO functionality? Plenty of extensions for that too. Need a fancy poll? Want a forum? Should your site be a community portal? All possible with the help of extensions.</p>
<p>But there is a downside to all these extensions and that is speed. There is nothing holding you back to install tens or hundreds of extensions. And before you know it you find yourself in the middle of an “extension frenzy”. And with every extra feature you add to Joomla you will most likely also require extra server power and processing time. In other words, Joomla sites packed with extensions tend to slow down. People leave your site because it has become so slow.</p>
<p>Luckily, there are some great solutions for this problem. Here are some techniques that will make sure Joomla is running at its full potential.</p>
<p>Joomla extensions come in different forms: components, modules, plugins, template…</p>
<p>&nbsp;</p>
<h2>Components &amp; Modules</h2>
<p>It is great to play around with all the fabulous power components and modules can offer you. Especially with modules you can dress up your pages to have countless functionalities. But keep in mind that more is often less. Less in performance and efficiency of not only your page loads, but also of the user experience and revenue!</p>
<p>So try to only use the extensions you really need. And uninstall everything you don’t use. Don’t just disable them, uninstall them!</p>
<p>&nbsp;</p>
<h2>Plugins: friend or foe?</h2>
<p>Plugins are great to add all sorts of functionality to your site. They are loaded and executed at different stages of the page rendering process. In most cases you don’t even know what plugins have been doing there thing. And there lies the danger!</p>
<p>When your website has a lot of plugins installed, they will slow down your site. Especially if these 3<sup>rd</sup> party plugins are not coded efficiently. Unfortunately &#8211; unless you are a programmer &#8211; you have no real way of telling if extensions are coded well</p>
<p>So plugins are your friends and can turn your site into something fantastic. But if you are not careful with them, they can group up and become your foe by slowing your site down.</p>
<p>&nbsp;</p>
<h2>Template madness</h2>
<p>There are hundreds of thousands of Joomla templates out there. Varying from very simple to extremely extensive ones. But also from very well to very poorly programmed ones.</p>
<p>Be careful in choosing your template. With more functionality also comes more server load.</p>
<p>Also many templates are packed with images. Especially if these images are not optimized, this will have a drastic effect on your page load speed. But luckily you can <a href="http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/">fix that yourself</a>!</p>
<p>&nbsp;</p>
<h2>Out-of-date and out-of-touch</h2>
<p>Technology never stops. And neither does the development and improvement of Joomla and its extensions.</p>
<p>Make sure you keep up-to-date with the latest releases of Joomla. Keep track of new versions of the extensions you use.</p>
<p>Also make your host use the latest versions of PHP and MySQL. And that the server is setup correctly and is maintained.</p>
<p>Staying up-to-date will not only help you in keeping your website up to speed, but also it will protect you from known security issues.</p>
<p>&nbsp;</p>
<h2>Database: time to clean up!</h2>
<p>MySQL databases are normally very efficient. But sometimes databases can gather junk and even become corrupted. This can slow down your site and even make it unreachable.</p>
<p>There are fortunately ways to fix this, or better yet, prevent it. You simply have to ‘repair’ your database tables.</p>
<p>Most hosting providers will offer you access to your database(s) via phpMyAdmin, a mysql web interface. There you can select your database tables and tell it to repair them.</p>
<p>There is a great Joomla extension that will help you do this right from your Joomla administrator: <a href="https://www.akeebabackup.com/software/admin-tools.html">Admin Tools</a>. It will also provide you with other great tools to keep your website nice and clean.</p>
<p>If you want to be really geeky, you can also set up a cronjob script to repair your database regularly.</p>
<p>&nbsp;</p>
<h2>Cache: use it!</h2>
<p>Joomla has a built in content caching system. This will take all dynamic content, cache it, and deliver the cached content to your unregistered viewers.</p>
<p>Caching will prevent your components, modules and plugins to have to do the same thing on every page load. This will reduce server load significantly.</p>
<p>&nbsp;</p>
<h2>Content Delivery Networks (CDN): take load off your server!</h2>
<p>A lot of your server power and page load time is taken up by loading the different images, stylesheets, scripts and other files your website requires. A CDN will take that load of your own server and offer these files from a different server close to the visitor. The page load speed will improve dramatically because there are multiple servers serving the necessary files simultaneously.</p>
<p>There is an excellent Joomla plugin called <a href="http://www.nonumber.nl/extensions/cdnforjoomla">CDN for Joomla!</a>, created by <a href="http://www.nonumber.nl/">NoNumber!</a> (Peter van Westen). Not only does <a href="http://www.nonumber.nl/extensions/cdnforjoomla">CDN for Joomla!</a> fully support MaxCDN, you have a variety of options on how to use this CDN extension. And best of all, <a href="http://www.nonumber.nl/extensions/cdnforjoomla">CDN for Joomla!</a> is <strong>100% free</strong>!</p>
<p>There&#8217;s some of our tips on how to speed up Joomla! Do you have any more tips on how to speed up Joomla, leave them in the comments below!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/keep-your-joomla-site-lightning-fast/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To: Optimizing Your Web Images</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 17:44:27 +0000</pubDate>
		<dc:creator>Taylor</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[faster website]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[speed up website]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=786</guid>
		<description><![CDATA[As the Internet is continuing to get pretty with all kinds and gradients and images, it is increasing the size of images used in many websites dramatically. Even though there are many technologies like CSS3&#8242;s gradient capabilities to help you use fewer images, you won&#8217;t see any significant differences until you start optimizing your images. Even though [...]]]></description>
			<content:encoded><![CDATA[<p>As the Internet is continuing to get pretty with all kinds and gradients and images, it is increasing the size of images used in many websites dramatically. Even though there are many technologies like <a href="http://css-tricks.com/css3-gradients/">CSS3&#8242;s gradient capabilities</a> to help you use fewer images, you won&#8217;t see any significant differences until you start optimizing your images.</p>
<p>Even though there aren&#8217;t too many ways to optimize your images, there are many techniques used in Photoshop to optimize your images. For this test, we&#8217;ll be spending the majority of our time in Photoshop.</p>
<p>&nbsp;</p>
<h2>File Format Differences</h2>
<p><span style="font-family: Times; line-height: normal; font-size: medium;"> </span></p>
<p style="display: inline !important;"><a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/file-differences.png"><img class="size-large wp-image-790 alignright" title="File Differences - Save for Web" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/file-differences-1024x766.png" alt="" width="328" height="246" /></a></p>
<p style="display: inline !important;"><a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/file-differences.png"></a>Let&#8217;s face it, there are so many ways to save your images in Photoshop. But if you&#8217;ve been using the &#8220;Save As&#8221; feature in Photoshop to save your web images, you should know you&#8217;re already saving a very unoptimized file.</p>
<p>As most people are already aware of the <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">PNG</a>, <a href="http://en.wikipedia.org/wiki/JPEG">JPEG</a>, and <a href="http://en.wikipedia.org/wiki/Graphics_Interchange_Format">GIF</a> file formats, let&#8217;s point out the differences in file size in a table below. Keep in mind that the JPEG format will typically always have a lower file size, but the quality of the file is sporadic depending on the file. All images supporting a color profile in this example have 256 colors and diffusion set as the dither setting.</p>
<p>&nbsp;</p>
<p><a rel="attachment wp-att-981" href="http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/attachment/chart-speed/"><img class="aligncenter size-full wp-image-981" title="chart-speed" src="http://blog.maxcdn.com/wp-content/uploads/2011/06/chart-speed.png" alt="" width="442" height="267" /></a></p>
<p>As you can clearly see,  JPEG wins hands down in terms of file size. At 30% quality, JPEG seems to have the highest lead (in terms of image compression/file size), but in order to exaggerate one downfall of the JPEG format, <a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/jpeg-quality.png">take a look at this image</a>. As you can clearly see, the JPEG file format has some quality issues at a lower quality percentage. If we create the same image at 60%, quality is increased by a ton, but the issues are still visible. The JPEG format at 100% is not the highest file size in the table and looks crystal clear.</p>
<p>After the JPEG format, you can see one of the leading file formats on the web, PNG-8 (which means it&#8217;ll pick from a maximum of 256 colors), coming right after. Because it is much larger than the JPEG format, it also has one downfall, <a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/png8dots.png">there are many visible &#8220;dots&#8221; on the image</a>.</p>
<p>The GIF format is very much like PNG, but is less optimized when using very large images like the one we&#8217;re testing. It suffers from the same issues that PNG does.</p>
<p>Our last two images, the PNG-24 files, are much like the JPEG format at 100% quality, but with supporting transparency. Keep in mind that the JPEG format does not support transparency, and because of this, JPEG images are not used as the main theme files of many websites.</p>
<p>&nbsp;</p>
<h2>So what&#8230; what should we use?</h2>
<p>In actuality, there&#8217;s no easy rule to decide which format every image should be saved as. Every image format has its issues but with those issues, we can narrow them down on which type of files should be used for what. Most of this is truly up to you and <em>what you think is best</em>. We can&#8217;t tell you which one is the best, but what we can do is guide you in the right direction in picking the best file format.</p>
<p>But please keep in mind, <em>the one with the lowest file size isn&#8217;t always the best image format</em>.</p>
<ul>
<li>If you want the highest quality, use a JPEG at around 80% quality or a PNG-24. These will be fairly large file sizes, but there are some cases where a PNG-24 image (even with transparency) has a lower file size than a JPEG at 100% quality. You simply need to compare the two formats.</li>
<li>JPEGs are best used with pictures taken by a camera, as they contain many colors that the JPEG format excels at compressing.</li>
<li>If you are using minimum colors, compare the GIF and PNG-8 image formats. They are very similar, but it seems that GIF is great with small images and PNG-8 is great with lots of colors at a small size. Again, you need to experiment and compare.</li>
<li>If you need any kind of transparency, PNG-24 has the best compatibility. The edges of the image are very smooth, unlike GIF and PNG-8, but most of the time, the file size will be raised by quite a bit; use sparingly.</li>
</ul>
<p>When in doubt, rate every image format on the basis of file size and quality. After that, you should have the best image format for the image you are working on.</p>
<p>&nbsp;</p>
<h2>Seriously, this is a lot of work! Any easier method?</h2>
<p><a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/Screenshot-of-the-WordPress-Media-Library-with-WP-Smush.png"><img class="alignleft size-medium wp-image-800" title="Screenshot of the WordPress Media Library with WP Smush" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/Screenshot-of-the-WordPress-Media-Library-with-WP-Smush-300x149.png" alt="" width="300" height="149" /></a>If you&#8217;re using WordPress for your website, there is a handy plug-in called <a href="http://dialect.ca/code/wp-smushit/">WP Smush.it</a> that will do all of this hard work for you.</p>
<p>Essentially, it&#8217;ll take all of the unneeded data in JPG files that your camera stores, optimizing the compression of a JPEG file, converting some GIFs to PNGs to save some space, and remove some unneeded colors from GIFs or PNGs.</p>
<p>No matter what way you use to optimize your files, it is needed. You want your website to load quickly, users want to see a fast website, and search engines will rank your website higher as your site is loading faster.</p>
<p>Images slow a website down more than anything else and there are many ways to make sure your website will load faster, but image optimization is key to a fast loading website.</p>
<p>&nbsp;</p>
<h2>Anything Else?</h2>
<p>Please keep in mind that because images are fairly large, the download time is very much tied to how fast your server can handle requests and the time taken to transmit a file to the requested user. As you have many things loading on a typical website, like JavaScript, HTML, images, and more, all of these HTTP requests will slow down the server at some point.</p>
<p>One excellent way to stop this from happening is by hosting your main files, like your images and JavaScript files, somewhere else. This is one example of how our CDN services can speed up your website, the other reason being that we have a <a href="http://www.maxcdn.com/features/network">high class network</a> and state of the art servers with Enterprise SSD drives that will serve your files in the fastest way possible to your users.</p>
<p>If you are willing to combine all your images together, typically your theme images used for your website, you can create a <a href="http://spriteme.org/ ">CSS spritemap</a> and the user can download your images used on your website with only one HTTP request! CSS spritemaps are fairly simple, and there are even tools that can help you with the process; they&#8217;re something every web-designer should look into.</p>
<p>If you have never optimized any of your images, it may be a good time to take a look at what is <a href="http://blog.maxcdn.com/tips-and-tricks/how-to-speed-up-your-website-with-webpagetest/">slowing down your website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/how-to-optimizing-your-web-images/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To: Speed Up Your Website With WebPageTest</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/how-to-speed-up-your-website-with-webpagetest/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/how-to-speed-up-your-website-with-webpagetest/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 00:49:30 +0000</pubDate>
		<dc:creator>Taylor</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[faster]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[webpagetest]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=722</guid>
		<description><![CDATA[When you are wanting to increase the speed of your website, there are plenty of different areas to look at. It could be that your server's internet connection is slow, your website is taking too long to process on the server, too many unoptimized files, or even some JavaScript could be hanging the site from [...]]]></description>
			<content:encoded><![CDATA[When you are wanting to increase the speed of your website, there are plenty of different areas to look at. It could be that your server's internet connection is slow, your website is taking too long to process on the server, too many unoptimized files, or even some JavaScript could be hanging the site from loading correctly. Whether the case, <a href="http://www.webpagetest.org/">WebPageTest</a> will help speed up your website to its full potential.

Before we get far into this guide, whether it is certain that MaxCDN will speed up your website, other things can slow down your website as well. Likewise, having services like <a href="http://www.webpagetest.org/">WebPageTest</a> help quite a bit.
<h2>Step One: <em>Using WebPageTest</em></h2>
<a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/webpagetest-home.png"><img class="size-medium wp-image-729 alignleft" title="WebPageTest" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/webpagetest-home-300x166.png" alt="" width="300" height="166" /></a>

Before you can figure out how to speed up your website, you first need to give <a href="http://www.webpagetest.org/">WebPageTest</a> the information it needs.

<em><strong>Different Tests: </strong></em><a href="http://www.webpagetest.org/">WebPageTest</a> is one impressive service with all of their offered tests. They offer a very in-depth review of a website, comparing websites, and a fairly unique mobile testing feature which seems to powered by an external service. We'll be focusing on the in-depth review of a website in this guide.

<em><strong>The Basics:</strong></em> You'll see all the basic items at the very top of the interface. Here, you can enter what website you want to have the page test on, choosing from twenty-four locations to run your test from (we'd recommend for you to use Dulles, VA USA as it supports many options), and of course, what browser you wish to test your website on.

<strong><em>Advanced Settings: </em></strong>Despite all of their different tests, they've gone the next level with plenty of advanced options that'll blow any other website speed test out of the water. With all of fourteen different settings you may set, let's cover some of the major ones:
<ul>
	<li>Changing the downstream connection (and yes, FiOS is in there!)</li>
	<li>Altering the number of tests to run</li>
	<li>Getting the tcpdump (this if for all you tech-savvy people!)</li>
	<li>And even entering HTTP basic authentication details</li>
</ul>
<span id="more-722"></span>
With all of these different features, using these tests will provide you with very accurate results on how to speed up your website.
<h2>Step Two: <em>Setting Up a Test</em></h2>
<a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/maxcdn_relaunch_screenshot.png"><img class="size-medium wp-image-731 alignright" title="maxcdn_relaunch_screenshot" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/maxcdn_relaunch_screenshot-300x158.png" alt="New MaxCDN site" width="300" height="158" /></a>In this test we'll be using <a href="http://blog.maxcdn.com/news/maxcdn-com-relaunch/">MaxCDN's brand new website</a> as an example.

We're going to be testing MaxCDN's website using the latest and greatest Internet Explorer 9. As IE9 has some very new technologies in it (as IE7 is nearly five years old). We could also use Google Chrome for this test, but as it's in an experimental stage currently with WebPageTest, we'd recommend not to use it just yet.

But please keep in mind that as Google Chrome has the powerful <a href="http://code.google.com/p/v8/">V8 JavaScript engine</a>, you may see your webpages loading faster than in other browsers.

As for the internet connection speed, try to hold off on selecting the FiOS option. Even though it may be lightning fast, it's not your target audience most of the time; please stick with DSL as it is very popular in the common household.

&nbsp;

&nbsp;
<h2>Step Three: <em>Interpreting the Results</em></h2>
<img class="size-large wp-image-738 alignleft" title="WebPageTest Results" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/WebPageTest-Result-Dulles-maxcdn.com_-855x1024.png" alt="" width="287" height="344" />

After <a href="http://www.webpagetest.org/">WebPageTest</a> gathers all of its data about your website, which will take around thirty seconds, you'll be greeted with an excellent overview of the data from the performance test.

We'll cover both the summary page and the page speed sections of the performance test. As there are five other pages, they are helpful, but they simply give you more information that can be handy to some.
<h3><em><strong>Summary Page:</strong></em></h3>
<em><strong> </strong></em><span style="line-height: normal;">Right after your test is complete, you will be greeted with a nicely formatted summary page. At the very top, you'll see a table with two columns, first view and repeat view. This might sound somewhat confusing, but simply, first view is everything that is loaded with no scripts altering the DOM structure (the HTML) and repeat view is, you guessed it, with the scripts only.</span>

<span style="line-height: normal;">As you can see in this test, it took about 6.928 seconds to load the main file and 2.804 seconds to run the scripts. As most JavaScript is technically hidden to the user (by having the scripts use asynchronous JavaScript for their communications), you shouldn't worry about it all too much. As long as it's under about three seconds, you should be just fine.</span>

<span style="line-height: normal;">Next up, you can see how long it took to download every file on your website, including the files that your JavaScript files are downloading. Looking at the waterfall, you can clearly see how long it took to initiate a DNS lookup, connection, how long the file took to download, and along with other information. Keep in mind that <em>you have the most control over the "content download" section</em>; as this is something you can optimize.</span>

<span style="line-height: normal;">The optimization checklist is handy, but on the flip side, we'll cover page speed section of the performance test soon, which will tell you quite a bit in a nice and orderly way.</span>

<span style="line-height: normal;">And if you'd prefer some nice visuals, you can see two pie charts show how many requests of every file type your website needed along with how many bytes every file type had.</span>
<h3><em><strong>Page Speed:</strong></em></h3>
<a href="http://blog.maxcdn.com/wp-content/uploads/2011/04/webpagetest-optimizations.png"><img class="size-medium wp-image-744 alignright" title="webpagetest-optimizations" src="http://blog.maxcdn.com/wp-content/uploads/2011/04/webpagetest-optimizations-167x300.png" alt="" width="159" height="283" /></a>

The most important section of them all, the page speed section of this performance test will be of the most help no matter what type of website you have.

To the left (click on the image for a better view) you can see a list of recommended optimizations with some sections expanded for more detail. As you can see, <a href="http://www.webpagetest.org/">WebPageTest</a> provides you exactly with the information needed to make these changes. For some added features, it can even inform you on how much you could save by optimizing your files.

As some of these optimizations are possible, let's give you our list of handy things you should do to make sure your website loads fast:
<ul>
	<li>First and foremost, if you are not using a CDN, take a look at MaxCDN. We offer an affordable and easy to use CDN solution to make sure your website runs to its full potential.</li>
	<li>Don't abuse images, period. Images take a long time to load on slow connections and any website owner needs to accept that. But luckily, there are some ways to make sure images load quickly, even on limited connections.
<ul>
	<li>By using the save for web feature in Photoshop, you can optimize your images a ton. If you are needing a high quality transparent image or a picture with many colors and gradients, save it as a PNG-24. Anything else that is somewhat "simple", save it as a PNG-8 or even a GIF. Even though many recommend JPEGs on the web, they degrade quality more than anything else. <strong>((((link to new article about image optimization )))))))</strong></li>
	<li>When using many images, especially small ones, try to create an image map (sometimes refereed to as a sprite map), which is essentially many images in one nice image file. This will be a faster download, but may be harder to manage as you need to set the bounds of where each image is in your CSS file. But now being in the 21st century, we have plenty of tools to help us with that!</li>
	<li>When designing, design for speed. Let's not get too complicated here, but when creating your website design, try to take download speed in mind. Saving a 600x600 image for a blog post that you will scale down to 100x100 is not optimal... at all. Instead, save a 600x600 image and a 100x100 image so you can link the 100x100 image to the 600x600 image if users want a larger view. Keep in mind that WordPress can resize images for you and take this process to just checking a simple box. Even though it will take up more disk space on your server, it is very much worth it to the user.</li>
</ul>
</li>
	<li>Take a good use of GZIP! GZIP will essentially compress your files (no matter what it is! HTML, CSS, PNG, will all be compressed. If you're using MaxCDN, you can enable GZIP under the settings tab of your zone. But remember, if you're trying to compress an already compressed file, like a JPEG, it can get larger in some cases.</li>
	<li>When writing CSS, use some kind of CSS optimizer to compress your CSS. It will not be easily readable, but it will be much smaller in filesize. For an online CSS optimizer, take a look at <a href="http://www.codebeautifier.com/">Code Beautifier</a>.</li>
	<li>If you're running WordPress, take a look at <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a> plugin. Not only does it <a href="http://www.maxcdn.com/features/integrations/wordpress-cdn-module">fully support MaxCDN</a>, it also has functionality to optimize nearly everything on your website.</li>
	<li>If you're a geeky one who likes getting their hands messy in the Linux terminal, take a look at <a href="http://php.net/manual/en/book.apc.php">APC</a> or <a href="http://memcached.org/">Memcached</a> for caching PHP files. This will speed up any dynamic PHP file so much that you won't believe it!</li>
</ul>
&nbsp;

Hopefully this guide has helped you speed up your website! If you have any questions or remarks on what MaxCDN can do to speed up your website, or anything in this guide, we'd love to hear them!]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/how-to-speed-up-your-website-with-webpagetest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using MaxCDN for paid or subscription-only video streaming</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/using-maxcdn-for-paid-or-subscription-only-video-streaming/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/using-maxcdn-for-paid-or-subscription-only-video-streaming/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 17:30:26 +0000</pubDate>
		<dc:creator>Ahmed Samir</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=467</guid>
		<description><![CDATA[Paid video website concept One question many clients have is if they can use CDN for paid/subscriber-only video streaming. The short answer is “Yes”, but there’s a lot of work involved in building such structure. As it known to all, CDN cannot run server-side scripting such as PHP, Ruby, and ASP etc… And such coding [...]]]></description>
			<content:encoded><![CDATA[<h2>Paid video website concept</h2>
<img style="float: left;" src="/wp-content/uploads/2010/10/media_room.jpg" alt="media room" />
One question many clients have is if they can use CDN for paid/subscriber-only video streaming. The short answer is “Yes”, but there’s a lot of work involved in building such structure.

As it known to all, CDN cannot run server-side scripting such as PHP, Ruby, and ASP etc… And such coding is usually required if you wish to provide paid video streaming service. However, it is still possible to utilize CDN Video Streaming service for your paid video streaming purposes.

The process has intermediate difficulty level, and it requires some coding skills and the implementation of a secure token.

The concept of the process is simple.  First it will require videos to be embedded in a page that can only be viewed or accessed by those who are logged in to your website. Also the path for your videos will probably need to be stored in a database, and that’s the first step.

The second step is even easier.
Depending on whether or not your client is allowed to access the video, a request will be sent to your database to request the video to be embedded. If they’re in the allow list for the video to be streamed, they can get the video embedded in the page.

Now you may wonder, how is the Secure Token going to help? Secure tokens are meant to protect your video stream. Means the video can neither be downloaded nor leeched on other websites. This will make sure videos will play on your website “Only”.]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/using-maxcdn-for-paid-or-subscription-only-video-streaming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial Released for Joomla CDN Implementation with MaxCDN</title>
		<link>http://blog.maxcdn.com/news/tutorial-released-for-joomla-implementation-with-maxcdn/</link>
		<comments>http://blog.maxcdn.com/news/tutorial-released-for-joomla-implementation-with-maxcdn/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 23:01:12 +0000</pubDate>
		<dc:creator>cueland</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Implementation]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=446</guid>
		<description><![CDATA[Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. MaxCDN supports Joomla, through their Joomla CDN which is powered by the Joomla CDN Plugin. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla [...]]]></description>
			<content:encoded><![CDATA[<img src="http://t2.gstatic.com/images?q=tbn:ANd9GcSTMwK4DqbYfAzIF966XYXo_UZqKiIHqOU27_KEMtoxyrGUG60&#038;t=1&#038;usg=__TeaVkZEDuAgx8GmPpqAVqBpy0qc=" alt="" style="float:right; margin-left: 12px;" /> Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications.  MaxCDN supports Joomla, through their <a href="http://www.maxcdn.com/features/integrations/joomla-cdn/">Joomla CDN</a> which is powered by the <a href="http://www.nonumber.nl/">Joomla CDN Plugin</a>.  Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone.  Since Joomla is such a widely used CMS, the need to implement it with a CDN is obvious. Here at maxCDN we want to make this integration as simple as possible for our customers so we teamed up with Peter Van Westen to create an easy to use plugin called TopCDN. Mr Westen is notorious among the Joomla community and currently has the top two ranked extensions on the Joomla website. You can visit his website <a href="http://www.nonumber.nl">here</a>.

It is very easy to implement the TopCDN Plugin for Joomla with MaxCDN. It is just a 3 step process and should take you less than five minutes!
<ol>
	<li>Create a Pull Zone for Your Website</li>
	<li>Install the TopCDN Extension on Your Site</li>
	<li>Copy the URL for Your Pull Zone into the TopCDN Settings</li>
</ol>
A thorough tutorial of how to implement Joomla with MaxCDN can be found on our <a href="http://wiki.netdna.com/Implementation/Joomla" target="_blank">Wiki</a>. Check out the article  and give us some feed back.

Using a CDN can have several benefits for your Joomla website, including the following:
<ol><li>Much faster page load times</li>
<li>Greatly reduced load on your server</li>
<li>Higher SEO Rankings</li>
<li>An overall smoother and more pleasant experience for your users</ol>

We will be adding more tutorials soon, so stay tuned!]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/news/tutorial-released-for-joomla-implementation-with-maxcdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial Released for Rackspace Cloud Implementation with MaxCDN</title>
		<link>http://blog.maxcdn.com/news/tutorial-released-for-rackspace-cloud-implementation-with-maxcdn/</link>
		<comments>http://blog.maxcdn.com/news/tutorial-released-for-rackspace-cloud-implementation-with-maxcdn/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 11:53:51 +0000</pubDate>
		<dc:creator>dhenzel</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Implementation]]></category>
		<category><![CDATA[Rackspace Cloud]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=408</guid>
		<description><![CDATA[Cloud Hosting is a very efficient way to host some large files on a dedicated webspace while keeping the expenses at minimum, and there are many Cloud Hosting providers out there. On of the famous and most used Clouds is RackSpace Cloud. As cloud is not like CDN, means the server and what is hosted [...]]]></description>
			<content:encoded><![CDATA[Cloud Hosting is a very efficient way to host some large files on a dedicated webspace while keeping the expenses at minimum, and there are many Cloud Hosting providers out there. On of the famous and most used Clouds is RackSpace Cloud. As cloud is not like CDN, means the server and what is hosted on it is at one place, those who download off of a cloud space will not benefit from the advantage of Geo-based download CDN offers - this is why the need to use CDN with Cloud hosting arose.

It is very easy to implement RackSpace Cloud with MaxCDN, it is actually a 3 step process.
<ol>
	<li>Upload your files to the cloud.</li>
	<li>Create a Pull Zone with the Origin URL of your Cloud Bucket</li>
	<li>Start browsing your Cloud-Hosted files via the CDN URL.</li>
</ol>
A thorough tutorial of how to implement RackSpace Cloud with MaxCDN can be found on our <a title="http://wiki.netdna.com/Implementation/Rackspace_Cloud" href="http://" target="_blank">Wiki</a>. Check out the article ( <a href="http://wiki.netdna.com/Implementation/Rackspace_Cloud">http://wiki.netdna.com/Implementation/Rackspace_Cloud</a> ) and give us some feed back.

We will be adding more tutorials soon, so stay tuned!]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/news/tutorial-released-for-rackspace-cloud-implementation-with-maxcdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What causes 502 Bad Gateway on a CDN</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/what-causes-502-bad-gateway-on-a-cdn/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/what-causes-502-bad-gateway-on-a-cdn/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 11:34:06 +0000</pubDate>
		<dc:creator>dhenzel</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[502 Bad Gatway Error]]></category>
		<category><![CDATA[CDN]]></category>

		<guid isPermaLink="false">http://blog.maxcdn.com/?p=404</guid>
		<description><![CDATA[The "502 - Bad Gateway" http error - a very uncommon, yet tricky error that some may have encounter when requesting a file through a Pull Zone. The question arising is: What is this error all about? Generally, this error is a result of a poor IP communication between back-end computers, possibly including the Web server [...]]]></description>
			<content:encoded><![CDATA[The "502 - Bad Gateway" http error - a very uncommon, yet tricky error that some may have encounter when requesting a file through a Pull Zone. The question arising is: What is this error all about?

Generally, this error is a result of a poor IP communication between back-end computers, possibly including the Web server at the site you are trying to visit. In the case of a Pull Zone, it is a communication problem between our servers and the origin server.

In order to analyze the error and find out what would be causing it, the first thing to do is to clear your browser cache completely.  Should the error persist, it's time to look into other causes.

<strong>The 3 occasions in which you might encounter this error</strong>
<ol>
	<li><strong>IP on the backend has changed:
<span style="font-weight: normal;">This is the first and most common case. People change hosts all the time, not very frequently, but they do. Or web hosts change their IP allocation, or a site owner might upgrade their hosting package and get a different IP address, many reasons and the result is the same; the server will not be able to pull the data off the origin.</span></strong></li>
	<li><strong>Firewall blocking our server:
<span style="font-weight: normal;">The 2nd most common case in which the 502 error will be encountered. As a part of a DDoS mitigation, or as a result of a strict set of Firewall rules, our IPs might be blocked as they could be accidentally identified as illegal traffic for the number of requests could be enormous. The expected result would be that we can't pull the data off the origin server, and the 502 will be encountered.</span></strong></li>
	<li><strong><span style="font-weight: normal;"><strong>Bad/Corrupt Zone Provisioning: </strong>
The 3rd, final, and most unusual case.  It happens very, very rarely when something goes wrong during the provisioning process of the Pull Zone. A temporal network hiccup,  an occasional timeout etc... This is not a major thing and any of our support team members can easily re-provision the Pull Zone for you.</span></strong></li>
</ol>
<strong>The debugging process</strong>

Debugging is quite easy when you encounter "502 - Bad gateway" and here's what you can do.
<ol>
	<li><strong>Check the Origin Server IP:
</strong> As a first step, always check if the Origin Server's IP has changed. Login to the CDN control panel, click on "Mange" next to your Pull Zone, then click on the "Settings" tab. Should you find out that the IP has changed, click "Edit" and put in the correct IP, purge your Pull Zone's cache, clear your browser's cache and try again, the problem should be fixed.</li>
	<li><strong>Check your Firewall rules:
</strong> If the origin IP is correct and the problem is persisting, contact our technical support. If it's a Firewall problem, you will be given a set of IP address to whitelist in your Firewall rule-set, then the problem should be fixed.</li>
	<li><strong>Blame the Gremlins:
</strong>If neither of the 2 above solutions works, please contact our technical support  ( support@netdna.com ) and the team will be able to help you identify and fix the problem.</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/what-causes-502-bad-gateway-on-a-cdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips and Tricks:  Debugging</title>
		<link>http://blog.maxcdn.com/tips-and-tricks/tips-and-tricks-debugging/</link>
		<comments>http://blog.maxcdn.com/tips-and-tricks/tips-and-tricks-debugging/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 08:12:35 +0000</pubDate>
		<dc:creator>cueland</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://blog.netdna.com/?p=23</guid>
		<description><![CDATA[The way the Anycast network works is by assigning a single IP which goes to all our datacenters. Therefore, if you are coming in from broadband in Dallas, the Anycast IP will automatically determine the closest available server PoP (Point of Presence) to you. To debug this - or have your clients debug this at [...]]]></description>
			<content:encoded><![CDATA[The way the Anycast network works is by assigning a single IP which goes to all our datacenters.

Therefore, if you are coming in from broadband in Dallas, the Anycast IP will automatically determine the closest available server PoP (Point of Presence) to you.

To debug this - or have your clients debug this at any time, they can goto:

http://debug.netdna-cdn.com

The result of the page will be something like:
<blockquote><strong>You are hitting the NetDNA Los Angeles Datacenter
Your ip address is: 66.159.202.156</strong></blockquote>
This is a very handy tool in debugging.

Cheers.

<strong>
</strong>]]></content:encoded>
			<wfw:commentRss>http://blog.maxcdn.com/tips-and-tricks/tips-and-tricks-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

