There is no place like 127.0.0.1
AFAIK you can’t do it automatically.
This will work though.
Compress all the files first.
Now edit .htaccess
# For files already compressed using gzip
AddEncoding gzip .gz
And what’s the benefit of this? I suppose for dialup, CPU is more efficient than bandwidth, but at what point does this happen? I’ve never been much for using compression on a website.
I tried doing so but the website only loads up with no style as if they cannot recognize the gziped file