Not compressing dynamic pages

Help
severenz
2004-08-09
2004-08-09
  • severenz
    severenz
    2004-08-09

    All of my sites are served dynamically. I use a perl handler to examine ALL requests (for a variety of reasons). This handler determines whether or not the request is dynamic or static (images, js, css)

    <Location />
            SetHandler              perl-script
            PerlSendHeader          on
            PerlHandler             JMR
    </Location>

    mod_gzip is running properly and compressing static files. My perl handler returns DECLINED for image, js, or css requests telling the server to look in the proper static folder to serve the request.

    What configuration change do I need to make to have my dynamic pages compressed as well?

    Thank you.