Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8801665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:53:34+00:00 2026-06-14T00:53:34+00:00

I have a website in which Yslow saying You need to Compress the Components

  • 0

I have a website in which Yslow saying You need to Compress the Components with gzip.

So i have found the below information in my apache response when i echo phpinfo() as my test.php file.


SERVER_SOFTWARE Apache/2.2.17 (Win32) PHP/5.3.5
HTTP_ACCEPT_ENCODING gzip, deflate
Accept-Encoding gzip, deflate
gzip compression enabled

_SERVER[“HTTP_ACCEPT_ENCODING”] gzip, deflate

And then i followed this tutorial and copied and pasted the below code to my .htaccess file.


<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_keep_workfiles No
mod_gzip_can_negotiate Yes
mod_gzip_add_header_count Yes
mod_gzip_send_vary Yes
mod_gzip_command_version '/mod_gzip_status'
mod_gzip_min_http 1000
mod_gzip_minimum_file_size 300
mod_gzip_maximum_file_size 512000
mod_gzip_maximum_inmem_size 60000
mod_gzip_handle_methods GET POST
mod_gzip_temp_dir /tmp
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.rb$
mod_gzip_item_include file \.py$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include file \.css$
mod_gzip_item_include file \.js$
mod_gzip_item_include mime ^application/javascript$
mod_gzip_item_include mime ^application/x-javascript$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include handler ^server-status$
mod_gzip_item_include handler ^server-info$
mod_gzip_item_include handler ^application/x-httpd-php
mod_gzip_item_exclude mime ^image/.*
</IfModule>

but it does not make any difference as i m still getting the file compression error as YSlow recommends .

I have also tried some other scripts by referring some other pages tutorials without any success.

Please can anybody give me solution how to solve this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:53:35+00:00Added an answer on June 14, 2026 at 12:53 am

    Try this:

    <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE application/x-javascript application/javascript text/javascript text/css text/html text/xml
    </IfModule>
    

    Also, clear your browser’s cache and restart the browser to ensure it’s not caching the non-gzip’d response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website which fetches information from RSS feeds periodically (well, currently manually,
We have a website which is using linq to entities, we found that it's
I have some website which requires a logon and shows sensitive information. The person
I have a website which uses the custom 404 error handling in PHP/Apache to
I have a website which using active directory authorization on a windows server in
I have a website which contains a large (and wide) table. The table is
I have a website which has a lot of combo boxes and auto-complete textboxes
I have a website which displays a lot of photos, built with asp.net and
I have a website which sells a product to the user (downloadable). I am
I have a website which allows secure (ssl) file uploads and download. The site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.