ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

YUI Compression tool

May 19, 2009 3:38am

Subscribe [3]
  • #1 / May 19, 2009 3:38am

    easylancer

    42 posts

    There are a few of these on the market but I think the design of ours make it unique. If you work alot with javascript and css then this tool might be for you as it will compress all into one file allowing room for less http request therefore making the website alot faster.

    Start compressing with The Compressor

  • #2 / May 19, 2009 5:02am

    Dam1an

    2385 posts

    At first I thought this was spam (seen half a dozen already this morning) but have seen you around and know you’re legit, so will let you off 😊

    If you do send just a single CSS and single JS file, will it only be sent on the initial request and then cached on the client machine? As otherwise you’ll be sending more data (although over a single request) then if you left it as is.

    I personally prefer Clean CSS when set to high for my CSS and I don’t really use JS, so thats not a concern for me

  • #3 / May 19, 2009 5:51am

    Dregond Rahl

    85 posts

    Personally, i just GZip JS and CSS before sending it, keeps the code clean but alot smaller. Also I cache JS and CSS strongly unless its got skin changing or something. You can also Pre-gzip the files using 7-Zip and send it, reduces strain on the sever and add the caching method and you don’t have to worry much at all about size.

  • #4 / May 19, 2009 6:07am

    easylancer

    42 posts

    Very nice to see the methods other use to compress files. Good thing I have been a member on here for time else I would have been classed as a spammer.

    @Dam1an: The file should be cached when sent to the clients machine, initially it will be a larger file on request but its also less requests which speeds up the website. Yahoo has some test results on their website about this.

    @Dregond Rahl: GZip is good when using server side languages, but if just creating a plain html website this won’t work out well.

  • #5 / May 19, 2009 6:28am

    xwero

    4145 posts

    It’s a nice and clean interface for a command line tool. But if you want to use the YUI compressor why not plug it in an IDE of your choice, netbeans example.

    When Bespin catches on you could provide an add-on.

  • #6 / May 19, 2009 8:41am

    Dregond Rahl

    85 posts

    Very nice to see the methods other use to compress files. Good thing I have been a member on here for time else I would have been classed as a spammer.

    @Dam1an: The file should be cached when sent to the clients machine, initially it will be a larger file on request but its also less requests which speeds up the website. Yahoo has some test results on their website about this.

    @Dregond Rahl: GZip is good when using server side languages, but if just creating a plain html website this won’t work out well.

    JavaScript and CSS can be GZiped, with or without PHP, they can also be used with plain HTML, on forums or anywhere. I personally used them before for forums on Proboards and such to load large scripts fast and cache them well. Free forums are manipulated completely by CSS and JS. if you can host files, and know alittle .htaccess it works out without PHP =]

    Added to that if you use a JS packer it could mkae the files size even more smaller. iTs pretty useful.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases