Open szepeviktor opened 7 years ago
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)?
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.
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
sounds like an idea!
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
Moved to its own repo: https://github.com/szepeviktor/tiny-cache
Hello @diggy !
Could you give Tiny translation cache a try on a site with persistent object cache?
https://github.com/szepeviktor/wordpress-plugin-construction/blob/master/tiny-translation-cache.php
It may come handy for you.