View Single Post
Old 09-18-2017, 10:06 AM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 380
So... in a couple of days I realized something... but I realized that practically there is nothing to understand...

Deflate already seems to do everything alone and work very well as it is...

And even less touches better is...

I have however found that some tools like Pagespeed, Gtmetrix, varvy, say that compression is not enabled because of these 2 files:
search.js
lazysizes.min.js

I added to /etc/apache2/mods-enabled/deflate.conf "text/javascript" (idea found searching) and search.js seems to have resolved, but continue to tell me that compression is not enabled for lazysizes.min.js, perhaps because of the "min", which maybe does recognize the extension.

I could make a change in my sites and remove the min from the filename, but it would take a long time, and surely sooner or later the thing would repeat in the future.

Is there a way to fix it permanently via server, the failure to compress .js and .min.js files?


P.S.
For the Charset Utf-8 I realized that it is in this file:/etc/apache2/conf-available/charset.conf
And just enable this: AddDefaultCharset UTF-8

P.P.S.
Considering that almost all images of my sites come from external resources, can it be a good idea to enable compression even for images via deflate?
Or would it completely kill my server's resources?
Does deflate also affect images from external resources?

P.P.P.S.
In Pagespeed I noticed for the first time Pagespeed module for Apache (I had never noticed before not having a server).
Can be a good or bad idea?
Usually I do not trust too much of BigG because he has a tendency to take much more than he gives, and I do not want to give free the resources of my server to him. He doesn't really need it.
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote