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.
In your .htaccess file you should be able to put in something like
This does depend on if the web host allows .htaccess files and other security settings.