Comments (6)
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.
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.
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.
sounds like an idea!
from polylang-cli.
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.
Moved to its own repo: https://github.com/szepeviktor/tiny-cache
from polylang-cli.
Related Issues (20)
- add `wp pll post update` subcommand
- add `wp pll term list` subcommand
- support WooCommerce product duplication
- Command to set the license for polylang pro HOT 3
- Cannot be installed with wp-cli 2.2.0 out of the box HOT 12
- When the package is activated WP CLI is not assigning posts to the default language
- add script to generate docs
- remove behat featurecontext customization
- add `wp pll widget list` subcommand
- Document alternative solution HOT 5
- fix wp pll option sync/unsync
- Undefined index: hook_suffix in `wp pll string list` HOT 1
- fix `wp pll doctor language`
- update package framework, require WP-CLI 1.3.0
- PHP Notice: Undefined index: class in ./vendor/diggy/polylang-cli/src/Api/Api.php on line 46
- add `wp pll menu item` subcommand
- add `wp pll menu list` subcommand
- add `wp pll menu delete` subcommand
- add `wp pll term duplicate` subcommand
- add `wp pll post duplicate` subcommand
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 polylang-cli.