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 8376659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:28:47+00:00 2026-06-09T15:28:47+00:00

I have a 80 kB javascript file, and I made some tests and concluded

  • 0

I have a 80 kB javascript file, and I made some tests and concluded that after gzipping the size will be reduced to 34 kB.

I have googled 100 times and asked many people and they give me links like this and this one Even after rereading them, I still can’t gzip the js file.

Can someone explain a good place to start and where to go from there? I think I’ll need to change something in .htaccess file, but I’m not sure.

  • 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-09T15:28:48+00:00Added an answer on June 9, 2026 at 3:28 pm

    In your .htaccess file you should be able to put in something like

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/x-javascript
    </IfModule>
    

    This does depend on if the web host allows .htaccess files and other security settings.

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

Sidebar

Related Questions

I have some code in a javascript file that needs to send queries back
I have a JavaScript file that prints the title attribute of the child img
I have a JavaScript file that I ran through the Google Closure compiler, and
Suppose I have a Javascript file function js_main(args){ /* some code */ var x
I have a lengthy JavaScript file that passes JSLint except for used before it
I have a simple JavaScript file that has three jQuery $document.ready functions. All three
Hey. I have this javascript file that I'm getting off the web and it
I have made a custom block in Magento that contains some JS. I want
I have an XML web service that javascript calls are made using jQuery. This
I have small animation using javascript and css. I made one sprite png file,

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.