Comments (5)
@X-NicON Sorry for the confusion, I was indeed talking about the filter to change the extension, not the one that's already there. So it's all good!
from autoptimize.
@Draikin might know :-)
But I guess changing example config to use .gzip instead of .gz would be trivial, no? Else you could change the extension in autoptimizeCache.php. I might add a filter to switch suffix in a later version (although is seems a little ... hardcore ;-) )
frank
from autoptimize.
You're absolutely right, it should be .gz. I didn't consider that when I added the code. I thought it was still serving the .gzip file directly when I last checked, but the documentation indeed suggests that it check .gz only, so it would be best to change the extension in autoptimizeCache.php accordingly. So a filter is probably unnecessary. Can you commit that change, @X-NicON?
from autoptimize.
Thank you so quickly answered.
@Draikin I think a filter is needed, since all these modules are optional, and if it is not enabled, then compressed files will just take up space. Or are you talking about the filter proposed by @futtta ? (I'm a little confused).
@futtta , as far as I know, the module specified does not support anything except .gz. at your request, I have made a pull request, please check.
sorry, confused repository (: ↓
from autoptimize.
merged, closing.
thanks again @X-NicON & @Draikin :-)
from autoptimize.
Related Issues (20)
- Avif support broken HOT 6
- Minified JS broken with private class identifiers HOT 4
- Disable emoji dns-prefetch in ClassicPress HOT 1
- PHP8 Warning HOT 1
- Optimized JS and inline script order HOT 3
- Problem with media="print" HOT 3
- Inline "background" not replaced with shortpixel HOT 5
- Security risk reported by Kaspersky HOT 6
- Proposal: stronger default settings HOT 9
- Optimised Google Fonts still blocking for 1.3s according to PageSpeed HOT 2
- Add: option to enable WebP as default output format HOT 1
- PHP Warning in cronjob: Trying to access array offset on value of type int in autoptimizeCacheChecker.php HOT 3
- Creation of dynamic property in autoptimizeProTab.php HOT 4
- Proposal: add Plugin Check workflow HOT 6
- Autoptimize deletes all subfolders in /cache/ HOT 3
- Incorrect cache size triggering unnecessary email warnings HOT 4
- WP CLI command does not take multisite into acocunt HOT 1
- Deprecation warning in jsmin.php HOT 7
- AO installed and now my site is dead meat HOT 3
- CSS Invalid HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoptimize.