mod_deflate and mod_expire a better alternative to server-side languages?

Discussion in 'Apache' started by Isaak, Mar 12, 2008.

  1. #1
    Hey,

    I've been thinking about this for a while but can't make a final decision so I want to ask you about your experience and opinions on this matter.

    I am planning to enable automatic compression to files and expiration times to static files but I wonder which method would be better performance wise.

    1. Apache mod_deflate and mod_expire modules using .htaccess configuration?
    2. Bytecode PHP using headers (last-modified, etc.) and output buffering and for static files (js, css, images) reading these files and creating an etag and expiration headers?
     
    Isaak, Mar 12, 2008 IP