.htaccess - gzip and cache your site for faster loading and bandwidth saving

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

found this post looks interesting

wonder if the techniques would work on a Drupal site? I know Drupal already offers performance options for caching of css and js and static pages.

He has: 629 posts

Joined: May 2007

You can get a lot of information on the performance of any site by using Yahoo's Yslow Firefox addon. You'll need to install Firebug first (linked to on the same page). Run the analysis, then use the links on the results for instructions on how to speed up the response.

TWF performs well-- Yslow gives it a grade of "B". Smiling

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

David,

I'll try Yslow out - of course I have Firebug - although I generally prefer the Web Developer tools

[LATER] You didn't mention that gzip is one of the methods YSlow suggests - NOW I understand why you posted it to this thread!

BTW I could not install Yslow from the Yahoo site some script bugged down in Firefox - but on the Firefox Addons site it was fine

But the post was specific to the technique of gzipping text files with .htaccess, something I never considered before, and compatiblility with Drupal (yes I know TWF is Drupal)

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

I was reading on a site about the compression being one of the benefits of using output buffering with PHP:

http://hudzilla.org/phpwiki/index.php?title=Compressing_your_output

-Greg

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.