Using Apache substitute with magento
Jul15

Using Apache substitute with magento

So I had a very interesting problem today. I needed to add a JavaScript file to all the sites hosted on my development server right before the head tag close. Why? Because I wanted to get some RUM statistics without having to go into each site and change the header file. Enter the Apache Substitute module Apache substitute module is just the tool that I needed to do such a task. Think of it like a server implementation of...

Read More
Logrotate Magento WordPress and more
Jul14

Logrotate Magento WordPress and more

This article took a lot longer to see the light, because of my self imposed hiatus. How to use logrotate Magento WordPress Logrotate is a very simple Linux command yet extremely powerful that you can use to “automate” the whole log cleaning endeavor. By Definition Logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing...

Read More

Optimizing MySQL performance

Optimizing MySQL performance Here is a little trick I learned recently on how to optimize MySQL performance or rather how to think when trying to get the most out of MySQL performance. There are 2 variables or settings in MySQL you want to pay attention to: query_cache_size which is the maximum amount of data that may be stored in the cache and query_cache_limit which is the maximum size of a single resultset in the cache. In other...

Read More
Top 10 Magento questions I get
Apr27

Top 10 Magento questions I get

This is a simple collection of questions I commonly get about Magento. I am not adding some that are more at company level, like what’s sales process that you use at Blue Acorn or what’s sort of strategy do you use for adwords campaigns? I am only choosing questions related to Magento and what I do in a consistent basis. These are the top 10 questions I have gotten since the launch of this blog. What really surprised me is...

Read More
Magento PHP Developers Guide Book review
Apr26

Magento PHP Developers Guide Book review

      A little disclaimer first: I’m not an expert reviewing books but I think this one is so good that… it is worth the risks 😀 This book is awesome First and foremost, I’d like to say that this This book rocks. And in this review, I’d like to explain why it rocks so much. If I could summarize this book in one sentence, it’d be something like this: “It covers the fundamentals and the basics, and...

Read More
Advanced Vagrant use with Puppet
Apr20

Advanced Vagrant use with Puppet

    Because there is no a better way to close the gap between Development and operations than by finding common ground between automation and repeatability. Advanced vagrant use with puppet You know when talked about vagrant and Magento before however that was a very simple case. Voice of warning: this has nothing to do with Magento. This time… Puppet and Vagrant are the stars of the show. What happens when you get...

Read More
LocalStorage with Store.js
Apr13

LocalStorage with Store.js

To use or not to use LocalStorage with Store.js You may remember that not so long ago we tried using local storage to improve magento’s speed and while this approach is particulary useful, it inherits some of the same problems you would encounter when using LocalStorage for everything else that is: how do I store something other than strings? As you may recall: storage.setItem("user_data", {name:"Luis Tineo",...

Read More

Magento FPC Breadcrumb Dissapearing

Let’s fix the Magento FPC breadcrumb dissapearing on the site We all know how Magento’s full page cache works and we know it is pretty awesome. We also know that most software is bound to have bugs. Magento’s FPC has a very annoying one: The breadcrumb tends to disappear. Fixing this one is actually pretty straight forward: First and foremost ensure that you don’t have the developers mode enabled by either...

Read More
Improve Magento’s speed using RAM drives
Feb13

Improve Magento’s speed using RAM drives

Improve Magento’s speed using RAM drives Wikipedia explains very well what RAM drives are and we all know that SSD are fast reading but have issues with endurance There’s a myriad of options and possibilities that one could do to improve Magento’s performance and adding a different one to the mix doesn’t really hurt, right? In all systems (confirmation required) you can use /dev/shm, this example is mainly if you want to keep your...

Read More
Magento developers Unleash the power of automation
Nov25

Magento developers Unleash the power of automation

Magento developers unleash the power of automation Deployments are always a pain, especially if there are holidays around because magento developers don’t usually unleash the power of automation even if there are tools in place to help them do so. This is not to say that everyone has to have the same workflow but I hope that with this example and pain of mine you can see why automating deployments is such a great idea. Black...

Read More