Git Product home page Git Product logo

Comments (6)

diggy avatar diggy commented on May 28, 2024

Hi @szepeviktor thanks, looks useful! Are you suggesting to incorporate this functionality in polylang-cli? Or would you like to know if it plays nice with Polylang (CLI)?

from polylang-cli.

szepeviktor avatar szepeviktor commented on May 28, 2024

It's a cache tool to reduce page load time. It is WIP, the little sister of Tiny cache

I'd like you to be happy about this reduction. It has nothing to do with polylang-cli.
Maybe the common roots: translations.

from polylang-cli.

szepeviktor avatar szepeviktor commented on May 28, 2024

After reading your comment the third time.
There could be a command to list cached .mo files, and another one to flush them.
The cache group is called mofile

from polylang-cli.

diggy avatar diggy commented on May 28, 2024

sounds like an idea!

from polylang-cli.

szepeviktor avatar szepeviktor commented on May 28, 2024

I am still fighting over the cache key here
https://github.com/szepeviktor/wordpress-plugin-construction/blob/master/tiny-translation-cache.php#L77-L79

If you have any idea...

Other .mo file cache implementation include even more things in the key.
https://plugins.trac.wordpress.org/browser/mo-cache/trunk/mo-cache.php#L35

from polylang-cli.

szepeviktor avatar szepeviktor commented on May 28, 2024

Moved to its own repo: https://github.com/szepeviktor/tiny-cache

from polylang-cli.

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.