Update: If I turn off GZIP compression in the control panel, and add it myself to my .htaccess, it works fine. It appears its nested within another module in the .htaccess file, however, I’m not sure if that works in my situation.
Thoughts?
Plugin Contributor
Fred
(@fredawd)
Did you enable GZIP in Swift settings? I´m not sure, as you mentioned control panel.
May you share your .htaccess file here?
So, let me digress a little. I pulled all the settings out of the .htaccess file, and let swift do all the changes. With the changes swift made with gzip enabled in the swift control panel, if I run a check on gtmetrix, it says gzip isn’t enabled. If I turn off gzip in the swift control panel, and add my own gzip configuration, it then works. What I notice is different between the configurations is that the gzip configuration that swift places is in the deflate module, but is actually embedded under a sub-section of that under mod_filter. I’m by all means not a .htaccess guru, so I’m presuming this should work if that is what your output makes, but if I turn it off, and add the section as a top level section, it then is recognized by gtmetrix.
Plugin Contributor
Fred
(@fredawd)
To be honest, never heard of this before.
There are so many unique server and WordPress environments running that without access it is hard to tell what exactly causes this, but If this solution works for you, then it should not be any problem.
Well, if you want to jump down the rabbit hole, I can set that up if it would be beneficial.. In the meantime, I’ll run the configuration output of Swift by my host(dreamhost), and see if they have any feedback vs. having it separated as I’ve done manually.
My thought is that somehow, its not parsing it right because the compression portion is essentially contained within another directive.
-
This reply was modified 5 years, 2 months ago by ocbroadband.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@fredawd I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.
https://wordpress.org/support/guidelines/#the-bad-stuff
Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.
If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.
Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.