News for November 2012

Encoding your files at the server level for faster pages

Have you ever found your self waiting for a web page to load? Often times reminiscent of your AOL dial-up days? If so, look no further. Some simple .htaccess or server modification will allow your site to zip along and load +30% faster!

# DEFLATE by type - html, text, css, xml
AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml
# DEFLATE by type - javascript
AddOutputFilterByType DEFLATE application/x-javascript application/javascript text/javascript text/x-js text/x-javascript
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml

Posted: November 26th, 2012
Categories: code, tutorial
Tags: ,
Comments: 1 Comment.

CSS3 variables are the future

A good friend of mine, Dave Collier sent me a highly interesting article that had me all giddy and excited to be a Frontend Engineer. CSS3 is introducing variables, and is already available for use. The only downside, which is sure to be rendered moot soon, is that it is currently supported only by Google Chrome.

Have a read:

here is the code example excerpt from the above link:

:root {
    -webkit-var-brand-color: red;
h1 {
  color: -webkit-var(brand-color);
div {
Posted: November 13th, 2012
Categories: code, Info
Tags: , , , ,
Comments: No Comments.