15 5 / 2011

How To: Configure ExpressionEngine for Multiple Server Environments

One of the challenges ExpressionEngine developers who have separate development, staging, and production environments face is configuring EE to work in all three of those environments without having to modify code each time. Over the last few months, I’ve been looking for ways to make the EE configuration as dynamic as possible and here is what I’ve learned. The methods described here only pertain to ExpressionEngine 2.x.

Read More

Comments

17 4 / 2011

EE Addon: HTML/CSS/JavaScript Optimization with AutoMin

What is AutoMin?

AutoMin is an ExpressionEngine addon that automatically combines and compresses your template output, CSS and JavaScript code.

Features

  • On-the-fly combination and minification of your CSS/JavaScript
  • Intelligent caching mechanism detects when you’ve made a change to your tags or files
  • Automatic compression of your HTML markup
  • Handles CSS @import and @font-face with ease
  • Support for EE’s global variables, path variables, and {stylesheet} variables
  • Reports file size differences to the template debugger
  • Basic support for EE 1.X

Read More

Comments

15 4 / 2011

Here is the .htaccess template I use for ExpressionEngine and CodeIgniter web sites. It’s well documented and has support for far-future expires headers, 301 redirects (vanity URLs), web fonts, gzip compression, index.php removal, etc. Thanks to the guys over at HTML5 boilerplate for some of the far-future and web fonts code.