Contact Me


Recent Posts


Categories


Archives


Tags

3d actionscript Actionscript 2 Actionscript 3 api APIs as2 as3 brand caching carousel channel code compress contest contract CSS Flash flv fp10 free freelance gadget gadgets gdata google JavaScript jquery mvc papervision papervision3d PHP player playlist puremvc pv3d search tube tutorial twitter video widget XML you youtube

Recent Comments

  • Ahmed: Can you put up an example?
  • Ahmed: Hmmm sorry this is a tough one but I don’t work with ASP.NET! Sorry!
  • Michael: Good example but one question… in all the slider skinning I see with Flex the thumb overruns the left...
  • venkata: Hi I am using OAuth to connect to youtube api. I got accessToken and TokenSecret for a particular user. Now...
  • Ahmed: Good old flexlib, what component are you using?

Links


Help end world hunger

Posts Tagged “compress”

Developing And Deploying PHP Apps With Capistrano, Phing And DBDeploy

Friday, December 4th, 2009

So I’ve started on my new little project Proxie. In order for it to be scalable, I’ve started using Capistrano for the development and deployment processes. Furthermore, I’m also using Phing and DBDeploy to handle the database migrates.

But that’s not where the fun stops, I’m also making use of some great Ruby Gems, locally rather than on the server, to compress static assets, such as CSS, JS and images.
(more…)

Compressing and Caching Static Text-based Assets with PHP

Friday, July 10th, 2009

So recently I’ve been playing around with GZIP compression on Apache and PHP to see how fast I can get my assets to load. Now I’ve written a post already on how to compress sites with GZIP.

Now I’ve taken my script to a new level, that is the asset loader script that compresses text-based assets using GZIP. I’m not using any sort of code compressor on the assets, yet, as I’ve already compressed the scripts using YUI. More importantly, I’ve now added the ability for me to cache a number of files into one rather than loading several, as we all know: less HTTP request = more fun.
(more…)

Excluding Mac’s Hidden Files

Saturday, June 6th, 2009

Every now and then you’ll need to compress files. When it comes to creating new web projects where I’m using frameworks, I find it much faster to compress the base framework and upload that to my server rather than uploading each file individually.

Since I’m on a Mac, I had hidden files. So, if I simply OS X’s built in archiver, I’m left with a load of .DS_Store and hidden files, and that’s not nice. So I’ve been looking at the best ways I can compress folders and files and exclude all those nasty hidden files I don’t want to be on my server.
(more…)

Speeding up Sites with GZip

Thursday, May 28th, 2009

Web sites need to be fast! Recently I’ve had some time on my hands so I’ve done some tests to see which is the best solution. I’ve had a read about different ways that web sites can be sped up, from compression before you upload files to server side compression.

Whenever it comes to speeding things up, I always remember the saying that “loading data from a flat file is slow, a database is slower, but memory is the quickest”. So that means if you’ve using server-side scripting such as PHP or Python, the best thing to do is to use memory caching such as APC or MemCache.
(more…)

Fork me on GitHub