Code Monkey home page Code Monkey logo

Comments (5)

Draikin avatar Draikin commented on May 25, 2024 2

@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.

futtta avatar futtta commented on May 25, 2024

@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.

Draikin avatar Draikin commented on May 25, 2024

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.

XNicON avatar XNicON commented on May 25, 2024

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.

futtta avatar futtta commented on May 25, 2024

merged, closing.

thanks again @X-NicON & @Draikin :-)

from autoptimize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.