<?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>Create A Website &#187; cpanel</title>
	<atom:link href="http://www.createwebsite.info/category/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.createwebsite.info</link>
	<description>yet another undecorated wordpress blog about web development</description>
	<lastBuildDate>Wed, 28 Sep 2011 01:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Performance: Time Consuming MySQL Queries and Caching</title>
		<link>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/</link>
		<comments>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:29:20 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/</guid>
		<description><![CDATA[I have been looking at a client&#8217;s WordPress install the last few days. They have a large number of posts and page load times in general have been increasing. I installed some query logging based on the code in this article &#8230; Rails-Like SQL Query Logging in WordPress Checking over the logs it became obvious [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking at a client&#8217;s WordPress install the last few days. They have a large number of posts and page load times in general have been increasing. I installed some query logging based on the code in this article &#8230;<br />
<a href="http://www.bsdeluxe.com/2009/08/31/rails-like-sql-query-logging-in-wordpress/">Rails-Like SQL Query Logging in WordPress</a></p>
<p>Checking over the logs it became obvious that queries using SQL_CALC_FOUND_ROWS are a problem. Digging through code it appears that where a limit on results is used it uses this query modifier to allow simpler coding of paging. The problem is that since the main query to grab blog posts on the blog home page or any archive page uses this, on a large blog this becomes quite inefficient.</p>
<p>For now I have tweaked MySQL so that the <a href="http://dev.mysql.com/doc/refman/5.0/en/query-cache-configuration.html">MySQL Query Cache</a> is now larger. These articles were useful:<br />
<a href="http://www.mysqlperformanceblog.com/2006/07/27/mysql-query-cache/">MySQL Query Cache</a> (at MySQL Performance Blog)<br />
<a href="http://www.techiecorner.com/45/turn-on-mysql-query-cache-to-speed-up-mysql-query-performance/">Turn on MySQL query cache to speed up query performance?</a></p>
<p>Looking at the log after this change query times have dropped dramatically (from over 0.5 seconds and up to milliseconds). This has immediately improved performance of the blog and overall load on the server.</p>
<p>I am currently looking at some WP Caching API and plugins to further improve performance.</p>
<p>If you are looking for some more ways to speed up WordPress check out this article as a starting point:<br />
<a href="http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/">4+1 Ways To Speed Up WordPress With Caching</a></p>
<p>And &#8230; for myself &#8211; just so I remember:<br />
<a href="http://mrphp.com.au/code/code-category/miscellaneous/whm-cpanel/install-memcache-cpanel-running-centos">Install Memcache onto cPanel running CentOS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Finding cPanel Logs</title>
		<link>http://www.createwebsite.info/quick-tip-finding-cpanel-logs/</link>
		<comments>http://www.createwebsite.info/quick-tip-finding-cpanel-logs/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 02:50:49 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/quick-tip-finding-cpanel-logs/</guid>
		<description><![CDATA[Need to find those FTP logs? Quick overview of the various log files typically available on a web server (with particular reference to cPanel) &#8230; cPanel Logs – A detailed view]]></description>
			<content:encoded><![CDATA[<p>Need to find those FTP logs? Quick overview of the various log files typically available on a web server (with particular reference to cPanel) &#8230;</p>
<p><a href="http://amshameer.wordpress.com/2009/01/25/cpanel-logs-a-detailed-view/">cPanel Logs – A detailed view</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/quick-tip-finding-cpanel-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re-running all website statistics in cpanel</title>
		<link>http://www.createwebsite.info/re-running-all-website-statistics-in-cpanel/</link>
		<comments>http://www.createwebsite.info/re-running-all-website-statistics-in-cpanel/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 23:22:59 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[cpanel]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/re-running-all-website-statistics-in-cpanel/</guid>
		<description><![CDATA[Found this: for i in `ls /var/cpanel/users`;do /scripts/runweblogs $i;done here: Executing /scripts/runweblogs for all users in cpanel Also while on the subject of cpanel &#8230; if you are a bit of a server n00b like me &#8230; this restarts the cron service &#8230; service crond restart]]></description>
			<content:encoded><![CDATA[<p>Found this:</p>
<pre>for i in `ls /var/cpanel/users`;do /scripts/runweblogs $i;done</pre>
<p>here:<br />
<a href="http://kb.bobcares.com/index.php?title=KB:Executing_/scripts/runweblogs_for_all_users_in_cpanel">Executing /scripts/runweblogs for all users in cpanel</a></p>
<p>Also while on the subject of cpanel &#8230; if you are a bit of a server n00b like me &#8230;  this restarts the cron service &#8230;</p>
<p>service crond restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/re-running-all-website-statistics-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPF records on a cPanel Server</title>
		<link>http://www.createwebsite.info/spf-records-on-a-cpanel-server/</link>
		<comments>http://www.createwebsite.info/spf-records-on-a-cpanel-server/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 06:52:04 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/spf-records-on-a-cpanel-server/</guid>
		<description><![CDATA[Getting email delivered can be a problem without, among other things, an SPF (Sender Policy Framework) record. Just found this: how to install SPF records on a cPanel server The whole site looks really useful. Note to self: check back there and do some reading.]]></description>
			<content:encoded><![CDATA[<p>Getting email delivered can be a problem without, among other things, an <a href="http://www.openspf.org/Project_Overview">SPF</a> (Sender Policy Framework) record. </p>
<p>Just found this:<br />
<a href="http://www.cpanelconfig.com/how-to/install-spf-records-on-a-cpanel-server/">how to install SPF records on a cPanel server</a></p>
<p>The whole site looks really useful.</p>
<p>Note to self: check back there and do some reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/spf-records-on-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

