13 Responses

  1. Travis Watson
    Travis Watson September 29, 2010 at 6:01 pm |

    What about (X)HTML compression? I’ve seem some markup get hefty, especially when people use indentation with spaces rather than tabs. The CSS is also only loaded once, whereas the (X)HTML, including all headers and footers, must be loaded on every single page.

    At the bare minimum, I think you should use tabs over spaces, use as little indentation as necessary to provide readability, and use Linux or Mac line endings (LF or CR) versus Windows (CR+LF) to halve your line ending byte overhead.

    Lastly, I’m sure image compression is a completely separate topic here — but can we safely omit Color Profiles from images used for design elements? I never thought about it before, but recently had a project where the color profile in some PNGs and JPEGs weren’t matching CSS color values on a Mac user’s machine. Removing the color profile fixed the problem for the Mac user and didn’t seem to affect me or my PC comrades in any way.

    Reply
    1. Travis Watson
      Travis Watson September 29, 2010 at 6:03 pm |

      * Left a bit out of that last sentence:

      “…didn’t seem to affect me or my PC comrades in any way and reduced the final file size significantly.”

      Reply
  2. Tung Do
    Tung Do October 1, 2010 at 4:26 am |

    for beginners like me who are beginning to set up their own WordPress environment offline. this tutorial suggests modifying the offline, test-only WordPress install that we have on our computers so that it reads from style.dev.css instead of style.css.

    Reply
  3. Larry Levenson
    Larry Levenson October 18, 2010 at 12:30 am |

    Hey guys. . . how ’bout and RSS feed for this blog?? And a Twitter feed? Great start! Looking forward to more.

    Reply
    1. Travis Watson
      Travis Watson October 19, 2010 at 1:16 pm |

      I don’t use this mumbo jumbo, but the link is in the head:
      http://devpress.com/feed/

      Reply
  4. James Beardmore
    James Beardmore October 29, 2010 at 7:06 pm |

    Great post, I’m curious to try out the style.dev.css

    A CSS compressor I swear by is this one: http://iceyboard.no-ip.org/projects/css_compressor

    Reply
  5. Yellow
    Yellow November 7, 2010 at 10:33 pm |

    Dev stylesheet is really a good idea~ I think I will use it from now on, thanks!

    Reply
  6. Development stylesheets for theme developers
  7. PDU
    PDU January 24, 2011 at 9:32 pm |

    看来世界上不知道的东西还真多

    Reply
  8. Navjot Singh
    Navjot Singh June 27, 2011 at 8:12 am |

    I am trying this method on a blog hosted on Wordpress 3.1.3 but it is not loading the dev.css version if SCRIPT_DEBUG is set to true. Any idea?

    Reply
  9. Christian Forums
    Christian Forums October 5, 2011 at 4:37 am |

    this method seems completely of no effect and hence of merit to put into practice, a good blog to all.

    Reply
  10. Mercy@Nikenya.com
    Mercy@Nikenya.com October 13, 2011 at 8:20 am |

    smart blog hope to follow it up

    Reply

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.