I have better performance with file_get_contents/file_put_contents and json_encode/json_decode
Maxime Baconnais
1

What was your testing methodology, php version and php settings? If json_encode/json_decode is faster for you, my guess is that you’re only caching string data or your settings aren’t adjusted to allow the file cache to work correctly.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.