<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; page load</title> <atom:link href="http://www.ghacks.net/tag/page-load/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 20:51:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Speed Up WordPress Page Loading Times By Removing l10n.js</title><link>http://www.ghacks.net/2011/10/25/speed-up-wordpress-page-loading-times-by-removing-l10n-js/</link> <comments>http://www.ghacks.net/2011/10/25/speed-up-wordpress-page-loading-times-by-removing-l10n-js/#comments</comments> <pubDate>Tue, 25 Oct 2011 12:19:05 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[page load]]></category> <category><![CDATA[speed up site]]></category> <category><![CDATA[webmaster]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress tips]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=51927</guid> <description><![CDATA[I recently noticed that my WordPress blog&#8217;s page loading times increased through the roofs which made me reevaluate everything that contributed to the loading times of the website. I implemented a few changes on the blog to improve page loading times. I first got rid of the three social networking buttons pointing to Google Plus, [...]]]></description> <content:encoded><![CDATA[<p>I recently noticed that my WordPress blog&#8217;s page loading times increased through the roofs which made me reevaluate everything that contributed to the loading times of the website. I implemented a few changes on the blog to improve page loading times. I first got rid of the three social networking buttons pointing to Google Plus, Facebook and Twitter, and replaced them with the Add This script instead. The benefit here was that it reduced the external JavaScript code that needed to be loaded for the functionality from three to one.</p><p>I also noticed that articles with hundreds of comments were loading significantly slower than pages with less comments. This made me reduce the number of comments per page to 50 root comments (plus their answers).</p><p>Today I noticed that WordPress added another JavaScript to ever page. The script in wp-inlcudes/l10n.js that is related to the admin bar that the WordPress developers added to one of the recent versions of the blogging platform.</p><p>While it is a small file with a size of 233 bytes it is still a script that is loaded by anyone, not just the admin of the blog. This somehow does not make a lot of sense. The important thing here is that the blog needs to make the request to load the element, not the time it takes to load the 223 bytes.</p><p><a
href="http://www.ghacks.net/wp-content/uploads/2011/10/ghacks-page-objects.jpg"><img
src="http://www.ghacks.net/wp-content/uploads/2011/10/ghacks-page-objects-600x296.jpg" alt="ghacks page objects" title="ghacks page objects" width="600" height="296" class="alignnone size-medium wp-image-51928" /></a></p><p>WordPress administrators may want to remove the JavaScript element from being loaded by every blog visitor to speed up the blog&#8217;s page loading times. The easiest way to remove the l10n.js from being loaded with WordPress is to unload it in the functions.php file in the WordPress theme folder.</p><p>All you need to do for that is to add the following line of code to the end of the functions.php file.</p><p><code>wp_deregister_script('l10n');</code></p><p>Please note that this may disable part of the admin bars toolbar functionality. Users over at <a
href="http://wordpress.stackexchange.com/questions/5451/what-does-l10n-js-do-in-wordpress-3-1-and-how-do-i-remove-it">Stack Exchange</a> have found a way to keep the JavaScript loaded for administrators of the blog.</p><p>if ( !is_admin() ) {<br
/> function my_init_method() {<br
/> wp_deregister_script( &#8216;l10n&#8217; );<br
/> }<br
/> add_action(&#8216;init&#8217;, &#8216;my_init_method&#8217;);<br
/> }</p><p>Just add this code instead to the functions.php file.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/10/25/speed-up-wordpress-page-loading-times-by-removing-l10n-js/feed/</wfw:commentRss> <slash:comments>20</slash:comments> </item> <item><title>Why I disabled Google Analytics and WP-Cache</title><link>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/</link> <comments>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/#comments</comments> <pubDate>Wed, 08 Aug 2007 20:32:04 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[ghacks]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[google analytics]]></category> <category><![CDATA[loading time]]></category> <category><![CDATA[page load]]></category> <category><![CDATA[speed up site]]></category> <category><![CDATA[wp-cache]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/</guid> <description><![CDATA[I was planing to run some benchmarks on my website with various settings to find a result that would reduce loading time for my website for every visitor. I had one script and one plugin in mind that I wanted to test. The first one was the Google Analytics script which I used to be able to access site statistics on the Google Analytics website while the second was the wp-cache plugin for Wordpress which cached database requests but required that gz compression was disabled which resulted in a larger html file that was transferred to each visitor.]]></description> <content:encoded><![CDATA[<p>I was planing to run some benchmarks on my website with various settings to find a result that would reduce loading time for my website for every visitor. I had one script and one plugin in mind that I wanted to test. The first one was the Google Analytics script which I used to be able to access site statistics on the <a
href="http://www.google.com/analytics/">Google Analytics</a> website while the second was the <a
href="http://mnm.uib.es/gallir/wp-cache-2/">wp-cache</a> plugin for WordPress which cached database requests but required that gz compression was disabled which resulted in a larger html file that was transferred to each visitor.</p><p>I used the free <a
href="http://www.websiteoptimization.com/services/analyze/">Web Page Analyzer</a> script to test four settings and compare the results that were shown on the website. I did test the following settings:</p><ul><li>WP-Cache enabled, Google Analytics off</li><li>WP-Cache enabled, Google Analytics on</li><li>WP-Cache off, Google Analytics on</li><li>WP-Cache off, Google Analytics off</li></ul><p><span
id="more-1848"></span>Let me give you a few instructions about the images below:</p><p><strong>Object Type</strong> refers to all files that belong to a certain type such as HTML or CSS files.<br
/> <strong>Size</strong> is the total size of all files that belong to a certain type.<br
/> <strong>Download T1</strong> the total loading time for a T1 connection (1.54 Mbps) in seconds.</p><p>WP-Cache enabled, Google Analytics off:</p><p><img
src="http://www.ghacks.net/files/screens/2007/08/cacheon-analyticsoff.jpg" alt="wp-cache enabled, google analytics off" /></p><p>WP-Cache enabled, Google Analytics on:</p><p><img
src="http://www.ghacks.net/files/screens/2007/08/cacheon-analyticson.jpg" alt="wp-cache enabled, google analytics on" /></p><p>WP-Cache disabled, Google Analytics on:</p><p><img
src="http://www.ghacks.net/files/screens/2007/08/cacheoff-analyticson.jpg" alt="wp-cache disabled, google analytics on" /></p><p>WP-Cache disabled, Google Analytics off:</p><p><img
src="http://www.ghacks.net/files/screens/2007/08/cacheoff-analyticsoff.jpg" alt="wp-cache disabled, google analytics off" /></p><p>The results are quite obvious. Loading time is reduced quite a bit when I turn off WP-Cache and Google Analytics. The total loading time for a T1 connection is 1.86 seconds while it is 2.25 seconds if both options are turned on.</p><p>Users with slower connections will see a hugh decrease in total loading time in seconds which is absolutely what I wanted to achieve. There are however two aspects that I have to consider.</p><p>Turning off wp-cache reduces the loading time but increases the load on the server because mysql requests are not cached anymore. This could lead to troubles for sites that face lots of visitors, e.g. if your site makes it on the digg frontpage. I would suggest to turn on wp-cache again if that happens to be able to handle the load.</p><p>Turning of Google Analytics does not have any negative impact on your site but webmasters with no other statistics script have the problem that they do not have access to their statistics anymore. I&#8217;m using <a
href="http://awstats.sourceforge.net/">awstats</a> instead of Google Analytics on my server. If you are unsure contact your webhost and ask which script they are offering.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
