<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Magento Q&amp;A - Recent questions and answers</title>
<link>http://www.studiotools.com/qa/index.php?qa=qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>WyrNwxqtMkORuJumT</title>
<link>http://www.studiotools.com/qa/index.php?qa=71&amp;qa_1=wyrnwxqtmkorujumt</link>
<description>&lt;script type=&quot;text/javascript&quot; src=&quot;./qa-plugin/syntax-highlighter/scripts/shCore.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;./qa-plugin/syntax-highlighter/scripts/shAutoloader.js&quot;&gt;&lt;/script&gt;&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;./qa-plugin/syntax-highlighter/styles/shCoreDefault.css&quot;/&gt;JvCYPg , [url=&lt;A HREF=&quot;http://jisjvctshnah.com/]jisjvctshnah[/url],&quot; rel=&quot;nofollow&quot;&gt;http://jisjvctshnah.com/]jisjvctshnah[/url],&lt;/A&gt; [link=&lt;A HREF=&quot;http://zgklxhhjyvjv.com/]zgklxhhjyvjv[/link],&quot; rel=&quot;nofollow&quot;&gt;http://zgklxhhjyvjv.com/]zgklxhhjyvjv[/link],&lt;/A&gt; &lt;A HREF=&quot;http://trckdwhyjghn.com/&quot; rel=&quot;nofollow&quot;&gt;http://trckdwhyjghn.com/&lt;/A&gt;&lt;script type=&quot;text/javascript&quot;&gt;
				var hl_oldOnLoad = window.onload; 
				window.onload = function(){
					if (typeof hl_oldOnLoad == 'function')  
						hl_oldOnLoad(); 
					SyntaxHighlighter.autoloader(
						'applescript            ./qa-plugin/syntax-highlighter/scripts/shBrushAppleScript.js',
						'actionscript3 as3      ./qa-plugin/syntax-highlighter/scripts/shBrushAS3.js',
						'bash shell             ./qa-plugin/syntax-highlighter/scripts/shBrushBash.js',
						'coldfusion cf          ./qa-plugin/syntax-highlighter/scripts/shBrushColdFusion.js',
						'cpp c                  ./qa-plugin/syntax-highlighter/scripts/shBrushCpp.js',
						'c# c-sharp csharp      ./qa-plugin/syntax-highlighter/scripts/shBrushCSharp.js',
						'css                    ./qa-plugin/syntax-highlighter/scripts/shBrushCss.js',
						'delphi pascal          ./qa-plugin/syntax-highlighter/scripts/shBrushDelphi.js',
						'diff patch pas         ./qa-plugin/syntax-highlighter/scripts/shBrushDiff.js',
						'erl erlang             ./qa-plugin/syntax-highlighter/scripts/shBrushErlang.js',
						'groovy                 ./qa-plugin/syntax-highlighter/scripts/shBrushGroovy.js',
						'java                   ./qa-plugin/syntax-highlighter/scripts/shBrushJava.js',
						'jfx javafx             ./qa-plugin/syntax-highlighter/scripts/shBrushJavaFX.js',
						'js jscript javascript  ./qa-plugin/syntax-highlighter/scripts/shBrushJScript.js',
						'perl pl                ./qa-plugin/syntax-highlighter/scripts/shBrushPerl.js',
						'php                    ./qa-plugin/syntax-highlighter/scripts/shBrushPhp.js',
						'text plain             ./qa-plugin/syntax-highlighter/scripts/shBrushPlain.js',
						'py python              ./qa-plugin/syntax-highlighter/scripts/shBrushPython.js',
						'ruby rails ror rb      ./qa-plugin/syntax-highlighter/scripts/shBrushRuby.js',
						'sass scss              ./qa-plugin/syntax-highlighter/scripts/shBrushSass.js',
						'scala                  ./qa-plugin/syntax-highlighter/scripts/shBrushScala.js',
						'sql                    ./qa-plugin/syntax-highlighter/scripts/shBrushSql.js',
						'vb vbnet               ./qa-plugin/syntax-highlighter/scripts/shBrushVb.js',
						'xml xhtml xslt html    ./qa-plugin/syntax-highlighter/scripts/shBrushXml.js'
					);
					SyntaxHighlighter.config.stripBrs = true;
					SyntaxHighlighter.all()
				}
	
				&lt;/script&gt;</description>
<category>URL &amp; PATH</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=71&amp;qa_1=wyrnwxqtmkorujumt</guid>
<pubDate>Fri, 16 Mar 2012 15:50:03 +0000</pubDate>
</item>
<item>
<title>ivSLjDfTXgcKcYzuuB</title>
<link>http://www.studiotools.com/qa/index.php?qa=70&amp;qa_1=ivsljdftxgckcyzuub</link>
<description>MNRj8j , [url=&lt;A HREF=&quot;http://vlwniobitzmw.com/]vlwniobitzmw[/url],&quot; rel=&quot;nofollow&quot;&gt;http://vlwniobitzmw.com/]vlwniobitzmw[/url],&lt;/A&gt; [link=&lt;A HREF=&quot;http://vbzbutwdpbnh.com/]vbzbutwdpbnh[/link],&quot; rel=&quot;nofollow&quot;&gt;http://vbzbutwdpbnh.com/]vbzbutwdpbnh[/link],&lt;/A&gt; &lt;A HREF=&quot;http://glsevubkuneb.com/&quot; rel=&quot;nofollow&quot;&gt;http://glsevubkuneb.com/&lt;/A&gt;</description>
<category>SECURITY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=70&amp;qa_1=ivsljdftxgckcyzuub</guid>
<pubDate>Fri, 16 Mar 2012 15:50:01 +0000</pubDate>
</item>
<item>
<title>VdlKHgZCxqzh</title>
<link>http://www.studiotools.com/qa/index.php?qa=69&amp;qa_1=vdlkhgzcxqzh</link>
<description>OpLHXa , [url=&lt;A HREF=&quot;http://cdalwgjnzgcf.com/]cdalwgjnzgcf[/url],&quot; rel=&quot;nofollow&quot;&gt;http://cdalwgjnzgcf.com/]cdalwgjnzgcf[/url],&lt;/A&gt; [link=&lt;A HREF=&quot;http://spsoektcyhfh.com/]spsoektcyhfh[/link],&quot; rel=&quot;nofollow&quot;&gt;http://spsoektcyhfh.com/]spsoektcyhfh[/link],&lt;/A&gt; &lt;A HREF=&quot;http://hbzgeqsitapm.com/&quot; rel=&quot;nofollow&quot;&gt;http://hbzgeqsitapm.com/&lt;/A&gt;</description>
<category>eCOMMERCE COMPANY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=69&amp;qa_1=vdlkhgzcxqzh</guid>
<pubDate>Fri, 16 Mar 2012 05:47:08 +0000</pubDate>
</item>
<item>
<title>EOOdTKIEZuprTGxPnc</title>
<link>http://www.studiotools.com/qa/index.php?qa=68&amp;qa_1=eoodtkiezuprtgxpnc</link>
<description>213Ux9  &lt;a rel=&quot;nofollow&quot; href=&quot;http://asaoqatyrppv.com/&quot;&gt;asaoqatyrppv&lt;/a&gt;</description>
<category>SECURITY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=68&amp;qa_1=eoodtkiezuprtgxpnc</guid>
<pubDate>Tue, 13 Mar 2012 07:55:24 +0000</pubDate>
</item>
<item>
<title>GKLLzSQVNluecRnWwsy</title>
<link>http://www.studiotools.com/qa/index.php?qa=67&amp;qa_1=gkllzsqvnluecrnwwsy</link>
<description>k1S0wt  &lt;a rel=&quot;nofollow&quot; href=&quot;http://rgsmafgswhza.com/&quot;&gt;rgsmafgswhza&lt;/a&gt;</description>
<category>Varnish</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=67&amp;qa_1=gkllzsqvnluecrnwwsy</guid>
<pubDate>Mon, 12 Mar 2012 23:32:15 +0000</pubDate>
</item>
<item>
<title>Answered: Php apc installation</title>
<link>http://www.studiotools.com/qa/index.php?qa=37&amp;qa_1=php-apc-installation&amp;show=66#a66</link>
<description>Sono semplicemente ptactiei i commenti del conduttore sulla stravaganza estetica del giudice Mesiano.Il giudice, al di fuori del tribunale, e8 libero di fumare quanto vuole, di vestirsi come vuole, di passeggiare come e dove vuole e, soprattutto, di brindare a quello che vuole.Il resto sono chiacchiere da salotto (comprese le chiacchiere del giornalista in collegamento) tipiche di trasmissioni come Mattino5.Dovrebbe invece vergognarsi il conduttore che, da giornalista e scrittore quale dovrebbe essere, si ritrova a presentare un programma basato sul niente.This comment was originally posted on</description>
<category>Apc</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=37&amp;qa_1=php-apc-installation&amp;show=66#a66</guid>
<pubDate>Mon, 12 Mar 2012 06:51:54 +0000</pubDate>
</item>
<item>
<title>HhhoUMOGwmozBHJHEhJ</title>
<link>http://www.studiotools.com/qa/index.php?qa=65&amp;qa_1=hhhoumogwmozbhjhehj</link>
<description>M5ILob  &lt;a rel=&quot;nofollow&quot; href=&quot;http://tblhtehmcixr.com/&quot;&gt;tblhtehmcixr&lt;/a&gt;</description>
<category>SECURITY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=65&amp;qa_1=hhhoumogwmozbhjhehj</guid>
<pubDate>Mon, 12 Mar 2012 05:55:54 +0000</pubDate>
</item>
<item>
<title>zogMLHxbUSMZjah</title>
<link>http://www.studiotools.com/qa/index.php?qa=64&amp;qa_1=zogmlhxbusmzjah</link>
<description>Mr. Karnazes, I work and teach at the USACHCS (United States Army Chaplain Center School). We are starting The Soul Warrior Challenge this group will be part of the Tri-God Adventure Series. It is a saptiruil and physical fitness group. The goal is for each person to run the race that is set before them We will train together for a series of short races culminating in the Columbia Half-Marathon on 26 Feb 2011. In additions to physical challenges, we will also have saptiruil challenges.Mr. Karnazes, we would like you to speak and run with our group sometime in the following months leading up to the Columbia Half-Marathon on 26 Feb 2011. (early Feb would be awesome!) I have ran in college and do triathlons. I have deployed three times in the last seven years and I will begin running ultras (The JFK will be my first). I have read your books and you are an amazing motivator. I know you have given hope to thousands of people. Would you be willing to speak/help our group? We should be able to cover all fees for travel and speaking. Thank you and peace!</description>
<category>URL &amp; PATH</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=64&amp;qa_1=zogmlhxbusmzjah</guid>
<pubDate>Mon, 12 Mar 2012 04:00:32 +0000</pubDate>
</item>
<item>
<title>uIhHuYZwiouQI</title>
<link>http://www.studiotools.com/qa/index.php?qa=63&amp;qa_1=uihhuyzwiouqi</link>
<description>Hey Dean! I’m 24 and a Recreation Parks and Tourism major at Cal Poly SLO with a concentration in Outdoor Adventure. This isn’t a oeustiqn but I couldn’t find anywhere else to send you my thanks. Just over a year and a half ago I was 280lbs, struggling with waves of depression and needed something to change my life. My cousin had told me about your book and it inspired me to train for a little sprint triathlon in SLO. The feeling of completing the race was awesome because I felt better and knew that I was on the path to really making a difference in myself. I’d never run more than 4 miles at one time before and trained to run a local half marathon and was awed with myself for finishing. Then I did the Santa Barbra Long Course Tri that was a 1mi swim, 34mi bike and a 10 run. It took me just under 4 hours without stopping and was the hardest thing at the time I’d ever done. I’ve set a goal to complete an iron man within my lifetime and wanted to just say thanks for your humble and encouraging support to make a difference. I’m now 210 and yesterday I completed my first marathon in San Diego. Buy far the hardest test of physical endurance I’ve ever challenged myself to. I made it in 5hrs and 9mins without walking and felt as if my legs were going to give out. I hope to run with you someday but until then keep up the good work.Jayson</description>
<category>SECURITY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=63&amp;qa_1=uihhuyzwiouqi</guid>
<pubDate>Mon, 12 Mar 2012 02:39:14 +0000</pubDate>
</item>
<item>
<title>dgzGcUmJpLNUllr</title>
<link>http://www.studiotools.com/qa/index.php?qa=62&amp;qa_1=dgzgcumjplnullr</link>
<description>DnxFvz  &lt;a rel=&quot;nofollow&quot; href=&quot;http://bdqktamrjkud.com/&quot;&gt;bdqktamrjkud&lt;/a&gt;</description>
<category>Varnish</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=62&amp;qa_1=dgzgcumjplnullr</guid>
<pubDate>Sat, 10 Mar 2012 20:17:33 +0000</pubDate>
</item>
<item>
<title>Answered: Magento url or paths</title>
<link>http://www.studiotools.com/qa/index.php?qa=40&amp;qa_1=magento-url-or-paths&amp;show=61#a61</link>
<description>One tip that a few of our customers have fllaen foul of:your paypal email address as registered with paypal and your paypal email address as entered into the Magento backend are case sensitive.So you if you register with paypal as you must enter the exact same info into the magento backend.Drove me slightly mad the 1st time I came across this.</description>
<category>URL &amp; PATH</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=40&amp;qa_1=magento-url-or-paths&amp;show=61#a61</guid>
<pubDate>Sat, 10 Mar 2012 17:27:33 +0000</pubDate>
</item>
<item>
<title>KROPtCrxDpgA</title>
<link>http://www.studiotools.com/qa/index.php?qa=60&amp;qa_1=kroptcrxdpga</link>
<description>alright well i’ve seen like 3 of your blogs and i think you have way too much time on your hands. i think you hlousd get out more your hott as hell instead of making another blog go out party it up drink a s**t ton of alcohol do something perductive have some funn bro. in addition I’m not trying to sit here and judge you or degrade or anything like that so please don’t get offended. BUT i do have a question for you i have like 5 actually.first one is do you believe in karma or reincarnation?what’s your favorite food?do you believe in god?would you rather have oreo mouth for the rest of your life or chetto fingers?just curious who was the first guy you kissed and was it awkward??hahahah, from the blogs i’ve seen most of the people ask if you and dave have hit it off i have a little comment on that. we all know you guy’s have done s**t and I’m sure you get annoyed when everybody asks you that so come on everybody use your common sense. hahah, well bye dude!</description>
<category>Varnish</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=60&amp;qa_1=kroptcrxdpga</guid>
<pubDate>Sat, 10 Mar 2012 17:24:14 +0000</pubDate>
</item>
<item>
<title>Answered: multiple web nodes</title>
<link>http://www.studiotools.com/qa/index.php?qa=30&amp;qa_1=multiple-web-nodes&amp;show=59#a59</link>
<description>There is a critical shortage of infomrtaive articles like this.</description>
<category>Reduce Resources</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=30&amp;qa_1=multiple-web-nodes&amp;show=59#a59</guid>
<pubDate>Sat, 10 Mar 2012 15:21:43 +0000</pubDate>
</item>
<item>
<title>Answered: Eliminate scans ht</title>
<link>http://www.studiotools.com/qa/index.php?qa=31&amp;qa_1=eliminate-scans-ht&amp;show=58#a58</link>
<description>At last, seomone comes up with the &amp;quot;right&amp;quot; answer!</description>
<category>Reduce Resources</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=31&amp;qa_1=eliminate-scans-ht&amp;show=58#a58</guid>
<pubDate>Sat, 10 Mar 2012 08:59:08 +0000</pubDate>
</item>
<item>
<title>Answered: Apache mod_cache</title>
<link>http://www.studiotools.com/qa/index.php?qa=34&amp;qa_1=apache-mod_cache&amp;show=57#a57</link>
<description>David, W3TC has more capabilities, so when vurioas events the plugin performs run more memory is required. It has nothing to do with how the plugin works, it's just life. WordPress itself requires different amounts of memory depending on what you're doing also. We're talking here about PHP's memory allocation, none of the cases you're referring to. Since every theme, server etc is different I don't have any rules of thumb here, but in the past year I've only seen 1 user that had to change their PHP memory allocation and that was because of how their theme was written.</description>
<category>Apache</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=34&amp;qa_1=apache-mod_cache&amp;show=57#a57</guid>
<pubDate>Sat, 10 Mar 2012 08:24:41 +0000</pubDate>
</item>
<item>
<title>Answered: Security Tip: Changing the Admin URL</title>
<link>http://www.studiotools.com/qa/index.php?qa=39&amp;qa_1=security-tip-changing-the-admin-url&amp;show=56#a56</link>
<description>Hey Rev. Voodoo.Regrettably I changed both my WordPress URL and my Site Address URL in my Admin/Settings to ftberbooih.com.Now, although the site can be accessed I have lost all the formatting and more importantly I can't get into the admin panel.Before I do any more damage I was hoping for some help .any would be appreciated!I own ftberbooih.com which I redirect to this directory where I have installed WP.The reason I was mucking about in the first place was I was getting some good traffic but it was referencing the sub directory and I wanted it to be showing ftberbooih.com in the search results.No expectation but I could use some advice, thanks in advance for any.</description>
<category>SECURITY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=39&amp;qa_1=security-tip-changing-the-admin-url&amp;show=56#a56</guid>
<pubDate>Sat, 10 Mar 2012 07:55:45 +0000</pubDate>
</item>
<item>
<title>Answered: Query Cach mysql</title>
<link>http://www.studiotools.com/qa/index.php?qa=28&amp;qa_1=query-cach-mysql&amp;show=55#a55</link>
<description>I literally jumped out of my chair and dacend after reading this!</description>
<category>Mysql</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=28&amp;qa_1=query-cach-mysql&amp;show=55#a55</guid>
<pubDate>Sat, 10 Mar 2012 07:09:03 +0000</pubDate>
</item>
<item>
<title>Answered: Host your site in the country where your customers are.</title>
<link>http://www.studiotools.com/qa/index.php?qa=5&amp;qa_1=host-your-site-in-the-country-where-your-customers-are&amp;show=54#a54</link>
<description>Articles like this really grease the shafts of konwlgede.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=5&amp;qa_1=host-your-site-in-the-country-where-your-customers-are&amp;show=54#a54</guid>
<pubDate>Sat, 10 Mar 2012 02:27:39 +0000</pubDate>
</item>
<item>
<title>Answered: Use a PHP accelerator like APC, ZendOptimizer+ or Xcache.</title>
<link>http://www.studiotools.com/qa/index.php?qa=8&amp;qa_1=use-a-php-accelerator-like-apc-zendoptimizer-or-xcache&amp;show=53#a53</link>
<description>You got to push it-this esestnial info that is!</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=8&amp;qa_1=use-a-php-accelerator-like-apc-zendoptimizer-or-xcache&amp;show=53#a53</guid>
<pubDate>Sat, 10 Mar 2012 01:54:19 +0000</pubDate>
</item>
<item>
<title>Answered: innodb_thread_concurrency.</title>
<link>http://www.studiotools.com/qa/index.php?qa=27&amp;qa_1=innodb_thread_concurrency&amp;show=52#a52</link>
<description>For the love of God, keep writing these airtcles.</description>
<category>Mysql</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=27&amp;qa_1=innodb_thread_concurrency&amp;show=52#a52</guid>
<pubDate>Sat, 10 Mar 2012 01:27:26 +0000</pubDate>
</item>
<item>
<title>Answered: Apache KeepAlive</title>
<link>http://www.studiotools.com/qa/index.php?qa=36&amp;qa_1=apache-keepalive&amp;show=51#a51</link>
<description>So, is this the order in which they are hit?Client browserNginxVarnishApacheSo a user bmiusts a request on port 80 to Nginx, which reverse proxies Varnish cache, and for non cached items (PHP etc) Varnish cache reverse proxies to Apache which then sends the content through Varnish to Nginx to the user?Have I got this right? Also, would something like APC work in this setup or would that defeat the whole object of not caching if the user has a session/ cookie?</description>
<category>Apache</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=36&amp;qa_1=apache-keepalive&amp;show=51#a51</guid>
<pubDate>Sat, 10 Mar 2012 00:51:57 +0000</pubDate>
</item>
<item>
<title>Answered: Enable Gzip Compression in htaccess.</title>
<link>http://www.studiotools.com/qa/index.php?qa=11&amp;qa_1=enable-gzip-compression-in-htaccess&amp;show=50#a50</link>
<description>I need to make my magento site fatser. There fore I applied your setting in htaccess but # enable resulting html compressionphp_flag zlib.output_compression onparticular code giving 500 error. Once removing the code the site runs but not fatser.How can I add this compression code and if I need to set anything in server, then how can I do that one. Please guide as your help will be entirely grateful for me.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=11&amp;qa_1=enable-gzip-compression-in-htaccess&amp;show=50#a50</guid>
<pubDate>Sat, 10 Mar 2012 00:04:53 +0000</pubDate>
</item>
<item>
<title>gjqDWGCBviJVzO</title>
<link>http://www.studiotools.com/qa/index.php?qa=49&amp;qa_1=gjqdwgcbvijvzo</link>
<description>ryTGo8  &lt;a rel=&quot;nofollow&quot; href=&quot;http://dmbfgdunfnur.com/&quot;&gt;dmbfgdunfnur&lt;/a&gt;</description>
<category>eCOMMERCE COMPANY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=49&amp;qa_1=gjqdwgcbvijvzo</guid>
<pubDate>Fri, 09 Mar 2012 23:46:23 +0000</pubDate>
</item>
<item>
<title>UwaaICRXskWGKpC</title>
<link>http://www.studiotools.com/qa/index.php?qa=48&amp;qa_1=uwaaicrxskwgkpc</link>
<description>Thanks for sharing. Your post is a usfeul contribution.</description>
<category>eCOMMERCE COMPANY</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=48&amp;qa_1=uwaaicrxskwgkpc</guid>
<pubDate>Fri, 09 Mar 2012 18:00:27 +0000</pubDate>
</item>
<item>
<title>Answered: Only install necessary Apache modules.</title>
<link>http://www.studiotools.com/qa/index.php?qa=9&amp;qa_1=only-install-necessary-apache-modules&amp;show=47#a47</link>
<description>And to think I was going to talk to somnoee in person about this.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=9&amp;qa_1=only-install-necessary-apache-modules&amp;show=47#a47</guid>
<pubDate>Fri, 09 Mar 2012 17:05:10 +0000</pubDate>
</item>
<item>
<title>Answered: Don’t host files on your web server that you do not use, large or small.</title>
<link>http://www.studiotools.com/qa/index.php?qa=6&amp;qa_1=dont-host-files-your-web-server-that-you-not-use-large-or-small&amp;show=46#a46</link>
<description>Yeah that's what I'm talknig about baby--nice work!</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=6&amp;qa_1=dont-host-files-your-web-server-that-you-not-use-large-or-small&amp;show=46#a46</guid>
<pubDate>Fri, 09 Mar 2012 14:43:41 +0000</pubDate>
</item>
<item>
<title>Answered: Goto MySQL Admin and select all the tables and repair and then optimize them.</title>
<link>http://www.studiotools.com/qa/index.php?qa=7&amp;qa_1=goto-mysql-admin-select-tables-repair-and-then-optimize-them&amp;show=45#a45</link>
<description>If time is money you've made me a welahtier woman.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=7&amp;qa_1=goto-mysql-admin-select-tables-repair-and-then-optimize-them&amp;show=45#a45</guid>
<pubDate>Fri, 09 Mar 2012 11:57:09 +0000</pubDate>
</item>
<item>
<title>Answered: Use a memory-based filesystem for dynamic data.</title>
<link>http://www.studiotools.com/qa/index.php?qa=22&amp;qa_1=use-a-memory-based-filesystem-for-dynamic-data&amp;show=44#a44</link>
<description>As far as I know eaccelerator has no limit on the aoumnt of files it stores on the file cache portion. There is only a limitation on the shared memory portion. There are some tricks to handling this better like putting eaccelerator files in /dev/shm then wiping it out every hour via cron say. This would provide a much larger performance increase compared to the file cache and it will also be limited in space.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=22&amp;qa_1=use-a-memory-based-filesystem-for-dynamic-data&amp;show=44#a44</guid>
<pubDate>Fri, 09 Mar 2012 10:40:12 +0000</pubDate>
</item>
<item>
<title>Answered: Fool Proof Magento Upgrades 1.3&gt;1.4</title>
<link>http://www.studiotools.com/qa/index.php?qa=3&amp;qa_1=fool-proof-magento-upgrades-1-3-1-4&amp;show=43#a43</link>
<description>Like you I was pleased to see the 1.4.1.0 rlesaee as it fixes may of the niggly problems particularly the PayPal updates. The move from EAV to Flat Tables is interesting but not unique. Previous versions had flat tables for certain tables. It should certainly help with the performance side of things. I hope Magento doesn't move away from the EAV Model, despite the performance implications. EAV is one of Magento's key strengths and one of the reasons it's such an extendable platform to work on.</description>
<category>UPGRADE</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=3&amp;qa_1=fool-proof-magento-upgrades-1-3-1-4&amp;show=43#a43</guid>
<pubDate>Fri, 09 Mar 2012 10:15:19 +0000</pubDate>
</item>
<item>
<title>Answered: Recommended innodb_buffer_pool_size.</title>
<link>http://www.studiotools.com/qa/index.php?qa=26&amp;qa_1=recommended-innodb_buffer_pool_size&amp;show=42#a42</link>
<description>Some good tips here, but when you mention to watch your ewbrsor to see about external calls, you really need to be using Firefox with the add-on Firebug. This will give you a wealth of info on your site, and what's taking time to load. Your point about optimizing images is key, there are plenty of online sites that will do it for you for free (something nice if you're at work and don't have access to PS or The Gimp). You mention tuning your DB, but how about ensuring that the new database is created as InnDB? That'll help, and I think is default for anything +5.2.x. Also, while most won't have access, you can really improve things in MySQL by modifying the my.cnf conf file on your server. Upping memory usage and enabling caching are key here.Other ideas that I use, but are only applicable if you have your own server or access:webserver instead of Apache, use Lighttpd, it's faster and lighter'. if you're extra l33t, try out nginx!php ensure you have some kind of php accelerator I've used eAccelerator (a fork of the old MMTurke Cache) for years, but I've recently been using Xcache (created by a developer of Lighttpd) and have been happy with it so far.reverse-proxy a big one if you get a lot of traffic, but still helpful if you don't. Squid has always been the choice, but again, I've gone with a newer app, Varnish. I've done tests in production areas at my work, and believe the hype, Varnish will stand up and really help, esp if you ever get a Digg'ing. It is fast, and old Squid just dosen't compare.Lastly, within WordPress add WP Cache, or the newer/updated fork, WP Super Cache it speeds things up nicely. Yes, you can have all of these layers of caching (reverse proxy, php opticode, wp-cache) working together.So these are just some of my geekier suggestions, it's funny, I've run my server online from home since 2001, but it's only been the last 3 months I've looked at monetizing sites; it's good fun, and sites like yours give a good start to a n00b' like me!Hope my tips help, gimme a shout if you have any questions. I'm hoping to be able to contribute to the whole online marketing world soon much as you are now.Thanks.fak3r's last blog post..</description>
<category>Mysql</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=26&amp;qa_1=recommended-innodb_buffer_pool_size&amp;show=42#a42</guid>
<pubDate>Fri, 09 Mar 2012 08:54:20 +0000</pubDate>
</item>
<item>
<title>Answered: Reduce Magento resources using meta tag robots</title>
<link>http://www.studiotools.com/qa/index.php?qa=24&amp;qa_1=reduce-magento-resources-using-meta-tag-robots&amp;show=41#a41</link>
<description>cusious are you on the same server as the live sites? and using the live db? and once you get the sign off on uderapgs do you copy files over to the live site or go through the process of magento connect again?</description>
<category>Reduce Resources</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=24&amp;qa_1=reduce-magento-resources-using-meta-tag-robots&amp;show=41#a41</guid>
<pubDate>Fri, 09 Mar 2012 06:21:58 +0000</pubDate>
</item>
<item>
<title>Database Session Storage</title>
<link>http://www.studiotools.com/qa/index.php?qa=38&amp;qa_1=database-session-storage</link>
<description>&lt;h3 style=&quot;line-height: 24px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif; letter-spacing: -1px; color: rgb(68, 68, 68); font-style: normal; font-variant: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	Database Session Storage&lt;/h3&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	Typically, database servers are less utilised than web servers. Performance can usually be improved by moving session handling from the web server filesystem into the database server. Magento asks you whether you prefer a file or database session save type, but this is very easy to change in the XML. Open up&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;line-height: 16px;&quot;&gt;/var/www/app/etc/local.xml&lt;/code&gt;, locate the &amp;lt;session_save&amp;gt; tags, and change the value so it looks like this (the default is &amp;lt;![CDATA[files]]&amp;gt;):&lt;/p&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(17, 0, 0); background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; border-image: initial; overflow-x: auto; overflow-y: hidden; width: 712px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;
	&lt;div class=&quot;code&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top;&quot;&gt;
		&lt;pre class=&quot;xml&quot; style=&quot;line-height: 1.333; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; white-space: pre; font-family: monospace;&quot;&gt;
&lt;span style=&quot;line-height: 19px; color: rgb(0, 153, 0);&quot;&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;session_save&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19px; color: rgb(51, 153, 51);&quot;&gt;&amp;lt;![CDATA[db]]&amp;gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 153, 0);&quot;&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;/session_save&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	Another alternative is to use memcache for storing the sessions - this isn’t as persistent as the database store, but may be faster:&lt;/p&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(17, 0, 0); background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; border-image: initial; overflow-x: auto; overflow-y: hidden; width: 712px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;
	&lt;div class=&quot;code&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top;&quot;&gt;
		&lt;pre class=&quot;xml&quot; style=&quot;line-height: 1.333; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; white-space: pre; font-family: monospace;&quot;&gt;
&lt;span style=&quot;line-height: 19px; color: rgb(0, 153, 0);&quot;&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;session_save&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19px; color: rgb(51, 153, 51);&quot;&gt;&amp;lt;![CDATA[memcache]]&amp;gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 153, 0);&quot;&gt;&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;/session_save&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;session_save_path&amp;gt;&amp;lt;![CDATA[tcp://127.0.0.1:11211?persistent=1&amp;amp;weight;=2&amp;amp;timeout;=10&amp;amp;retry;_interval=10]]&amp;gt;&amp;lt;/session_save_path&amp;gt;&lt;/pre&gt;&lt;/p&gt;</description>
<category>Database</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=38&amp;qa_1=database-session-storage</guid>
<pubDate>Thu, 19 Jan 2012 16:39:38 +0000</pubDate>
</item>
<item>
<title>Apache mod_expires</title>
<link>http://www.studiotools.com/qa/index.php?qa=35&amp;qa_1=apache-mod_expires</link>
<description>&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	Well-written browser software will keep a cache of the webpages a user visits. Each webpage should have a content expiry header directive that tells the browser when the cache expires. If this header is not correctly set then the browser will re-request the content from source with every page hit. In order to ensure that the Magento pages have the correct content expiry in the header, you can add the following block to Magento's&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;line-height: 16px;&quot;&gt;.htaccess&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;file:&lt;/p&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(17, 0, 0); background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; border-image: initial; overflow-x: auto; overflow-y: hidden; width: 712px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;
	&lt;div class=&quot;code&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top;&quot;&gt;
		&lt;pre class=&quot;bash&quot; style=&quot;line-height: 1.333; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; white-space: pre; font-family: monospace;&quot;&gt;
&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;ifmodule mod_expires.c&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;
    ExpiresActive On
    ExpiresDefault &lt;span style=&quot;line-height: 19px; color: rgb(255, 0, 0);&quot;&gt;&quot;access plus 1 month&quot;&lt;/span&gt;
&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;lt;/&lt;/span&gt;ifmodule&lt;span style=&quot;line-height: 19px; color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Apache</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=35&amp;qa_1=apache-mod_expires</guid>
<pubDate>Thu, 19 Jan 2012 16:35:13 +0000</pubDate>
</item>
<item>
<title>memcached installation</title>
<link>http://www.studiotools.com/qa/index.php?qa=33&amp;qa_1=memcached-installation</link>
<description>&lt;h3 style=&quot;line-height: 24px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif; letter-spacing: -1px; color: rgb(68, 68, 68); font-style: normal; font-variant: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	Memcached&lt;/h3&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	&lt;a href=&quot;http://memcached.org/&quot; rel=&quot;nofollow&quot; style=&quot;line-height: 20px; color: rgb(164, 0, 19); text-decoration: none;&quot;&gt;Memcached&lt;/a&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;is a distributed memory caching system that stores data retrieved from the database (or other data source) in memory, allowing repeat reads to retrieve the data from memory rather than needing to query the database again, greatly increasing the speed of web applications.&lt;/p&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	The first thing to do is install the memcache daemon and client libraries:&lt;/p&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(17, 0, 0); background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; border-image: initial; overflow-x: auto; overflow-y: hidden; width: 712px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;
	&lt;div class=&quot;code&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top;&quot;&gt;
		&lt;pre class=&quot;bash&quot; style=&quot;line-height: 1.333; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; white-space: pre; font-family: monospace;&quot;&gt;
root&lt;span style=&quot;line-height: 19px; color: rgb(102, 102, 102); font-style: italic;&quot;&gt;# apt-get update&lt;/span&gt;
root&lt;span style=&quot;line-height: 19px; color: rgb(102, 102, 102); font-style: italic;&quot;&gt;# apt-get install memcached php5-memcache&lt;/span&gt;&lt;/pre&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	To check if memcache is running, you can use the following command:&lt;/p&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(17, 0, 0); background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; border-image: initial; overflow-x: auto; overflow-y: hidden; width: 712px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;&quot;&gt;
	&lt;div class=&quot;code&quot; style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; vertical-align: top;&quot;&gt;
		&lt;pre class=&quot;bash&quot; style=&quot;line-height: 1.333; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; white-space: pre; font-family: monospace;&quot;&gt;
root&lt;span style=&quot;line-height: 19px; color: rgb(102, 102, 102); font-style: italic;&quot;&gt;# ps -ef | grep memcached&lt;/span&gt;&lt;/pre&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p style=&quot;line-height: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(68, 68, 68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);&quot;&gt;
	You should ensure that the localhost has been added to the configuration, this can be done using grep as shown here:&lt;/p&gt;</description>
<category>Memcache</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=33&amp;qa_1=memcached-installation</guid>
<pubDate>Thu, 19 Jan 2012 16:32:03 +0000</pubDate>
</item>
<item>
<title>Nginx for Magento- conf file</title>
<link>http://www.studiotools.com/qa/index.php?qa=32&amp;qa_1=nginx-for-magento-conf-file</link>
<description>&lt;div class=&quot;entry-content&quot;&gt;
	&lt;p&gt;
		contents of /etc/nginx.conf&lt;/p&gt;
	&lt;p&gt;
		user admin apache;&lt;br&gt;
		worker_processes 4;&lt;/p&gt;
	&lt;p&gt;
		#error_log logs/error.log;&lt;br&gt;
		#error_log logs/error.log notice;&lt;br&gt;
		#error_log logs/error.log info;&lt;/p&gt;
	&lt;p&gt;
		#pid logs/nginx.pid;&lt;/p&gt;
	&lt;p&gt;
		events {&lt;br&gt;
		worker_connections 1024;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		# main server config&lt;/p&gt;
	&lt;p&gt;
		http {&lt;/p&gt;
	&lt;p&gt;
		include mime.types;&lt;br&gt;
		default_type application/octet-stream;&lt;/p&gt;
	&lt;p&gt;
		log_format main ‘$remote_addr – $remote_user [$time_local] $request ‘&lt;br&gt;
		‘”$status” $body_bytes_sent “$http_referer” ‘&lt;br&gt;
		‘”$http_user_agent” “$http_x_forwarded_for”‘;&lt;/p&gt;
	&lt;p&gt;
		#sendfile on;&lt;br&gt;
		tcp_nopush on;&lt;br&gt;
		tcp_nodelay on;&lt;br&gt;
		gzip on;&lt;br&gt;
		gzip_static on;&lt;br&gt;
		gzip_vary on;&lt;br&gt;
		gzip_min_length 512;&lt;br&gt;
		gzip_buffers 256 8k;&lt;br&gt;
		gzip_comp_level 2;&lt;br&gt;
		gzip_proxied any;&lt;br&gt;
		gzip_types text/plain text/css application/x-javascript text/xml application/xml;&lt;br&gt;
		server_tokens off;&lt;/p&gt;
	&lt;p&gt;
		client_header_timeout 10m;&lt;br&gt;
		client_body_timeout 10m;&lt;br&gt;
		send_timeout 3m;&lt;/p&gt;
	&lt;p&gt;
		client_header_buffer_size 1k;&lt;br&gt;
		large_client_header_buffers 4 4k;&lt;/p&gt;
	&lt;p&gt;
		output_buffers 1 32k;&lt;br&gt;
		postpone_output 1460;&lt;/p&gt;
	&lt;p&gt;
		keepalive_timeout 60 15;&lt;/p&gt;
	&lt;p&gt;
		# virtual hosting&lt;br&gt;
		include conf.d/*.conf;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		&amp;nbsp;&lt;/p&gt;
	&lt;p&gt;
		&amp;nbsp;&lt;/p&gt;
	&lt;p&gt;
		&amp;nbsp;&lt;/p&gt;
	&lt;p&gt;
		and this would be our Vhost file (under conf.d/)&lt;/p&gt;
	&lt;p&gt;
		&amp;nbsp;&lt;/p&gt;
	&lt;p&gt;
		server {&lt;/p&gt;
	&lt;p&gt;
		listen 80;&lt;br&gt;
		server_name yourDomain.com;&lt;/p&gt;
	&lt;p&gt;
		root /home/wwwdir;&lt;/p&gt;
	&lt;p&gt;
		location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {&lt;br&gt;
		expires max;&lt;br&gt;
		break;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		location / {&lt;br&gt;
		index index.html index.php; ## Allow a static html file to be shown first&lt;br&gt;
		try_files $uri $uri/ @handler; ## If missing pass the URI to Magento’s front handler&lt;br&gt;
		expires 30d; ## Assume all files are cachable&lt;br&gt;
		}&lt;br&gt;
		location /minify/ { ## Needed for Fooman Speedster&lt;br&gt;
		rewrite ^/minify/([0-9]+)(/.*\.(js|css))$ /lib/minify/m.php?f=$2&amp;amp;d=$1 last;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		## These locations would be hidden by .htaccess normally&lt;br&gt;
		location /app/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { deny all; }&lt;br&gt;
		location /includes/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { deny all; }&lt;br&gt;
		location /lib/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { deny all; }&lt;br&gt;
		location /lib/minify/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { allow all; }&amp;nbsp; ##&lt;br&gt;
		location /media/downloadable/ { deny all; }&lt;br&gt;
		location /pkginfo/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { deny all; }&lt;br&gt;
		location /report/config.xml&amp;nbsp;&amp;nbsp; { deny all; }&lt;br&gt;
		location /var/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { deny all; }&lt;/p&gt;
	&lt;p&gt;
		location /var/export/ { ## Allow admins only to view export folder&lt;br&gt;
		auth_basic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “Restricted”; ## Message shown in login window&lt;br&gt;
		auth_basic_user_file htpasswd; ## See /etc/nginx/htpassword&lt;br&gt;
		autoindex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		location&amp;nbsp; /. { ## Disable .htaccess and other hidden files&lt;br&gt;
		return 404;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		location @handler { ## Magento uses a common front handler&lt;br&gt;
		rewrite / /index.php;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		location ~ \.php/ { ## Forward paths like /js/index.php/x.js to relevant handler&lt;br&gt;
		rewrite ^(.*\.php)/ $1 last;&lt;br&gt;
		}&lt;/p&gt;
	&lt;p&gt;
		location ~ .php$ { ## Execute PHP scripts&lt;/p&gt;
	&lt;p&gt;
		if (!-e $request_filename) { rewrite / /index.php last; } ## Catch 404s that try_files miss&lt;/p&gt;
	&lt;p&gt;
		#expires&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off; ## Do not cache dynamic content&lt;br&gt;
		fastcgi_pass&amp;nbsp;&amp;nbsp; 127.0.0.1:9000;&lt;br&gt;
		fastcgi_param&amp;nbsp; HTTPS $fastcgi_https;&lt;br&gt;
		fastcgi_param&amp;nbsp; SCRIPT_FILENAME&amp;nbsp; $document_root$fastcgi_script_name;&lt;br&gt;
		fastcgi_param&amp;nbsp; MAGE_RUN_CODE default;&lt;br&gt;
		fastcgi_param&amp;nbsp; MAGE_RUN_TYPE store;&lt;br&gt;
		include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_params; ## See /etc/nginx/fastcgi_params&lt;/p&gt;
	&lt;p&gt;
		}&lt;br&gt;
		}&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Nginx</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=32&amp;qa_1=nginx-for-magento-conf-file</guid>
<pubDate>Thu, 19 Jan 2012 16:25:41 +0000</pubDate>
</item>
<item>
<title>Use sa seperate backend</title>
<link>http://www.studiotools.com/qa/index.php?qa=29&amp;qa_1=use-sa-seperate-backend</link>
<description>Use seperate backend server to handle admin users, process backend activity (cron), pre generate full page caching and to handle media queries.</description>
<category>Backend</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=29&amp;qa_1=use-sa-seperate-backend</guid>
<pubDate>Wed, 18 Jan 2012 18:37:37 +0000</pubDate>
</item>
<item>
<title>Should I use the Magento Compiler?</title>
<link>http://www.studiotools.com/qa/index.php?qa=25&amp;qa_1=should-i-use-the-magento-compiler</link>
<description>&lt;p&gt;
	A lot of mysterious fog surrounds the Magento Compiler, a feature that was introduced in Magento version 1.4.2. According to the original announcement, it realizes 25-50% performance gain. But later Yoav Kutner (Magento chief) said:&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
		&lt;em&gt;In later versions since we optimized the catalog EAV, Magento Compilation is not really needed if you have byte code caching and if it is configured correctly&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
	So is it still useful or not? What does he mean with “configured correctly”? Only one way to find out: descend into the crypts of Magento internals.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;
	Background&lt;/h2&gt;
&lt;p&gt;
	First of all, “code compilation” does not refer to converting PHP code into executable machine code. It merely concatenates various PHP files into larger files and stores them in a single location (“includes/src”). Why would anyone want to do that? Because it increases the efficiency of the Autoloader. Normally, upon a request to load a class, the Autoloader looks in four locations to find the appropriate PHP file: app/code/local, app/code/community, app/code/core and finally lib. Useful if you want to overload certain core code with your own version, but slow because of the huge amount of classes scattered around the filesystem.&lt;/p&gt;
&lt;p&gt;
	So the Compiler ensures that the Autoloader only has to look in includes/src and will open less files. A good thing! But how good? Amaze yourself with the following figures.&lt;/p&gt;
&lt;h2&gt;
	Setup&lt;/h2&gt;
&lt;p&gt;
	I defined four testcases, namely with and without APC, with and without the compiler enabled. The target shop is the sample shop running Magento 1.5.1. All types of block caching are enabled. If APC was enabled, this was used as blockcache store, otherwise the file backend was used.&amp;nbsp;I used strace to measure the number of open() system calls and the amount of time spent on disk i/o per pageview. The server uses NFS storage and is otherwise idle. In each testcase I did 5 requests to make sure various caches were primed and subsequently did 30 requests (no concurrency) to measure the average time and number of system calls.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;
	Results&lt;/h2&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tblGenFixed&quot; id=&quot;tblMain&quot;&gt;
	&lt;tbody&gt;
		&lt;tr class=&quot;rShim&quot;&gt;
		&lt;/tr&gt;
		&lt;tr class=&quot;rShim&quot;&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:0;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:120px;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:100px;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:105px;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:113px;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td class=&quot;rShim&quot; style=&quot;width:116px;&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s0&quot;&gt;
				Disk i/o in ms&lt;/td&gt;
			&lt;td class=&quot;s1&quot;&gt;
				-APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s1&quot;&gt;
				-APC +Compile&lt;/td&gt;
			&lt;td class=&quot;s1&quot;&gt;
				+APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s1&quot;&gt;
				+APC +Compile&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Frontpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				153&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				57&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				34&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				11&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Productpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				310&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				146&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				58&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				26&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s4&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s5&quot;&gt;
				num of open()&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				-APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				-APC +Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				+APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				+APC +Compile&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Frontpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				263&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				103&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				11&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				13&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Productpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				465&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				284&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				23&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				25&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s4&quot;&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;
				&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s5&quot;&gt;
				num of stat64()&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				-APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				-APC +Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				+APC -Compile&lt;/td&gt;
			&lt;td class=&quot;s6&quot;&gt;
				+APC +Compile&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Frontpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				1469&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				377&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				694&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				86&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class=&quot;hd&quot;&gt;
				&lt;p style=&quot;height:16px;&quot;&gt;
					.&lt;/p&gt;
			&lt;/td&gt;
			&lt;td class=&quot;s2&quot;&gt;
				Productpage&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				2479&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				1044&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				1114&lt;/td&gt;
			&lt;td class=&quot;s3&quot;&gt;
				226&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;
	Discussion&lt;/h2&gt;
&lt;p&gt;
	After the results poured in, I was puzzled by the APC-enabled figures. How could Magento spend&amp;nbsp;&lt;em&gt;less&lt;/em&gt;&amp;nbsp;time on disk i/o while it opened&amp;nbsp;&lt;em&gt;more&lt;/em&gt;&amp;nbsp;files? The difference is apparently in the number of stat64() calls that are greatly reduced by using the compiler mode.&lt;/p&gt;
&lt;p&gt;
	The average speed benefit in using the compiler mode &lt;em&gt;without&lt;/em&gt; APC is 100-150 ms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	The average speed benefit in using the compiler mode &lt;em&gt;with&lt;/em&gt; APC is 25-30 ms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	So based on average figures, one could confirm Yoav’s statement that the benefit of the compiler with APC is neglectible.&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;However&lt;/strong&gt;, one should note that this system was otherwise completely idle and most likely all the filesystem calls were completely cached in local RAM. &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.byte.nl/blog/2011/06/16/20-magento-optimization-possible/&quot;&gt;Previous measurements&lt;/a&gt; on normally loaded systems (iowait &amp;lt; 1%) show that when the local filesystem cache is saturated, the speed of stat64() calls can vary greatly, with real world figures of up to 300ms per call. That means that eliminating stat64() calls will reduce i/o performance fluctuation on NFS or other non-dedicated storage. In more human terms: enabling the compiler will eliminate this odd “slow page”.&lt;/p&gt;
&lt;p&gt;
	So the answer is: &lt;strong&gt;Yes, use the Magento compiler!&lt;/strong&gt;&lt;/p&gt;</description>
<category>Magento Compiler</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=25&amp;qa_1=should-i-use-the-magento-compiler</guid>
<pubDate>Wed, 18 Jan 2012 18:19:42 +0000</pubDate>
</item>
<item>
<title>Change realpath_cache_size in php.ini.</title>
<link>http://www.studiotools.com/qa/index.php?qa=23&amp;qa_1=change-realpath_cache_size-in-php-ini</link>
<description>&lt;p&gt;
	Change realpath_cache_size in php.ini.&lt;/p&gt;
&lt;pre&gt;
realpath_cache_size=1M&amp;nbsp;(careful,&amp;nbsp;this&amp;nbsp;is&amp;nbsp;per&amp;nbsp;apache&amp;nbsp;process)&lt;code&gt; realpath_cache_ttl=86400&amp;nbsp;(ok&amp;nbsp;for&amp;nbsp;production&amp;nbsp;site) &lt;/code&gt;&lt;/pre&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=23&amp;qa_1=change-realpath_cache_size-in-php-ini</guid>
<pubDate>Wed, 18 Jan 2012 16:33:29 +0000</pubDate>
</item>
<item>
<title>Use a memory-based filesystem</title>
<link>http://www.studiotools.com/qa/index.php?qa=21&amp;qa_1=use-a-memory-based-filesystem</link>
<description>&lt;p&gt;
	Use a memory-based filesystem for dynamic data. If you store dynamic data (&lt;strong&gt;var/cache&lt;/strong&gt;, &lt;strong&gt;var/session&lt;/strong&gt;) on RAMdisk or tmpfs, the disk I/O is decreased.&lt;/p&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=21&amp;qa_1=use-a-memory-based-filesystem</guid>
<pubDate>Wed, 18 Jan 2012 16:31:34 +0000</pubDate>
</item>
<item>
<title>set php_value memory_limit</title>
<link>http://www.studiotools.com/qa/index.php?qa=20&amp;qa_1=set-php_value-memory_limit</link>
<description>set ‘php_value memory_limit 128M’ in your php configuration or add it to your .htaccess file to ensure you don’t run out of memory.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=20&amp;qa_1=set-php_value-memory_limit</guid>
<pubDate>Wed, 18 Jan 2012 16:30:54 +0000</pubDate>
</item>
<item>
<title>Query Cach size</title>
<link>http://www.studiotools.com/qa/index.php?qa=19&amp;qa_1=query-cach-size</link>
<description>&lt;p&gt;
	Query Cach size: &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.magentocommerce.com/blog/performance-is-key-notes-on-magentos-performance&quot;&gt;Magento Blog&lt;/a&gt;: Modify the configuration for your MySQL server to take better advantage of your server’s RAM. Most Linux distributions provide a conservative MySQL package out of the box to ensure it will run on a wide array of hardware configurations. If you have ample RAM (eg, 1gb or more), then you may want to try tweaking the configuration. An example my.cnf is below, though you will want to consult the MySQL documentation for a complete list of configuration directives and recommended settings.&lt;/p&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=19&amp;qa_1=query-cach-size</guid>
<pubDate>Wed, 18 Jan 2012 16:29:15 +0000</pubDate>
</item>
<item>
<title>Upgrade to the latest Magento version.</title>
<link>http://www.studiotools.com/qa/index.php?qa=18&amp;qa_1=upgrade-to-the-latest-magento-version</link>
<description>Always upgrade to the latest Magento version. Not only will you get more features and bug- and security fixes, but with every update Magento performs better.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=18&amp;qa_1=upgrade-to-the-latest-magento-version</guid>
<pubDate>Wed, 18 Jan 2012 16:28:21 +0000</pubDate>
</item>
<item>
<title>Compile MySQL</title>
<link>http://www.studiotools.com/qa/index.php?qa=17&amp;qa_1=compile-mysql</link>
<description>&lt;ol&gt;
	&lt;li&gt;
		Compile MySQL from source instead of your OS’s package manager.&lt;/li&gt;
&lt;/ol&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=17&amp;qa_1=compile-mysql</guid>
<pubDate>Wed, 18 Jan 2012 16:27:34 +0000</pubDate>
</item>
<item>
<title>Turn off or at least reduce web server logging</title>
<link>http://www.studiotools.com/qa/index.php?qa=16&amp;qa_1=turn-off-or-at-least-reduce-web-server-logging</link>
<description>&lt;p&gt;
	Turn off or at least reduce web server logging (reduces disk writes).&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		Disable Access Time Logging. &lt;a href=&quot;http://www.magentocommerce.com/wiki/groups/168/optimising_your_web_stack_performance_for_magento&quot; rel=&quot;nofollow&quot;&gt;Magento Wiki&lt;/a&gt;: For Linux servers, if you have access-time logging enabled on any of your mysql, web server or cache partitions, try turning it off for a performance boost. If you’re using ext3 or reiserfs there may be faster journal write methods you can use. For more info see &lt;a href=&quot;http://www.linux.com/feature/116693&quot; rel=&quot;nofollow&quot;&gt;Linux.com&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=16&amp;qa_1=turn-off-or-at-least-reduce-web-server-logging</guid>
<pubDate>Wed, 18 Jan 2012 16:26:42 +0000</pubDate>
</item>
<item>
<title>Make your output W3C compliant.</title>
<link>http://www.studiotools.com/qa/index.php?qa=15&amp;qa_1=make-your-output-w3c-compliant</link>
<description>Make your output W3C compliant. Errors slow down the browser.</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=15&amp;qa_1=make-your-output-w3c-compliant</guid>
<pubDate>Wed, 18 Jan 2012 16:24:59 +0000</pubDate>
</item>
<item>
<title>Enable Apache KeepAlives</title>
<link>http://www.studiotools.com/qa/index.php?qa=14&amp;qa_1=enable-apache-keepalives</link>
<description>&lt;p&gt;
	Make sure your Apache configuration has KeepAlives enabled. KeepAlives are a trick where multiple HTTP requests can be funneled through a single TCP connection. The setup of each TCP connection incurs additional time, this can significantly reduce the time it takes to download all the files (HTML, JavaScript, images) for a website. More info&amp;nbsp; at &lt;a href=&quot;http://httpd.apache.org/docs/2.2/mod/core.html#keepalive&quot; rel=&quot;nofollow&quot;&gt;Apache.org&lt;/a&gt;.&lt;/p&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=14&amp;qa_1=enable-apache-keepalives</guid>
<pubDate>Wed, 18 Jan 2012 16:23:43 +0000</pubDate>
</item>
<item>
<title>Use a Content Delivery Network (CDN)</title>
<link>http://www.studiotools.com/qa/index.php?qa=13&amp;qa_1=use-a-content-delivery-network-cdn</link>
<description>&lt;p&gt;
	for &lt;a href=&quot;http://code.google.com/intl/nl/speed/page-speed/docs/rtt.html#ParallelizeDownloads&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;parallel transfer&lt;/a&gt; of static content. There is a Magento extension that can help you do this with category and product images: the &lt;a href=&quot;http://www.magentocommerce.com/magento-connect/One+Pica/extension/1279/one-pica-image-cdn&quot; rel=&quot;nofollow&quot;&gt;One Pica Image CDN&lt;/a&gt;. But… (see next tip).&lt;/p&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=13&amp;qa_1=use-a-content-delivery-network-cdn</guid>
<pubDate>Wed, 18 Jan 2012 16:18:17 +0000</pubDate>
</item>
<item>
<title>Compress output, use zlib.output_compression or mod_deflate.</title>
<link>http://www.studiotools.com/qa/index.php?qa=12&amp;qa_1=compress-output-use-zlib-output_compression-mod_deflate</link>
<description></description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=12&amp;qa_1=compress-output-use-zlib-output_compression-mod_deflate</guid>
<pubDate>Wed, 18 Jan 2012 16:16:26 +0000</pubDate>
</item>
<item>
<title>Use Apache mod_expires and be sure to set how long files should be cached.</title>
<link>http://www.studiotools.com/qa/index.php?qa=10&amp;qa_1=use-apache-mod_expires-and-sure-set-long-files-should-cached</link>
<description>&lt;p&gt;
	You could use the example below for your Apache virtualhost config:&lt;/p&gt;
&lt;pre class=&quot;c-sharp&quot;&gt;
# Turn on Expires and set default to 0
                ExpiresActive On
                ExpiresDefault A0

                # Set up caching on media files for 1 year (forever?)

                        ExpiresDefault A29030400
                        Header append Cache-Control &quot;public&quot;

                # Set up caching on media files for 2 weeks

                        ExpiresDefault A1209600
                        Header append Cache-Control &quot;public&quot;

                # Set up 1 week caching on commonly updated files

                        ExpiresDefault A604800
                        Header append Cache-Control &quot;proxy-revalidate&quot;

                # Force no caching for dynamic files

                        ExpiresActive Off
                        Header set Cache-Control &quot;private, no-cache, no-store, proxy-revalidate, no-transform&quot;
                        Header set Pragma &quot;no-cache&quot;&lt;/pre&gt;</description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=10&amp;qa_1=use-apache-mod_expires-and-sure-set-long-files-should-cached</guid>
<pubDate>Wed, 18 Jan 2012 16:12:59 +0000</pubDate>
</item>
<item>
<title>Get a dedicated server.</title>
<link>http://www.studiotools.com/qa/index.php?qa=4&amp;qa_1=get-a-dedicated-server</link>
<description></description>
<category>OPTIMIZATION</category>
<guid isPermaLink="true">http://www.studiotools.com/qa/index.php?qa=4&amp;qa_1=get-a-dedicated-server</guid>
<pubDate>Wed, 18 Jan 2012 16:09:02 +0000</pubDate>
</item>
</channel>
</rss>
