Hey! I need a json file with members and it is quite slow
$members = $cache->get("members", "+10 minutes", function($users) {
return $users->find('roles=member, sort=lastname, limit=3000');
});
This one takes about 8 seconds to load, regardless if it is cached! I dont know where the cache file is, but I am sure it is loading from the cache, because changing limit=30 won't affect the output until I delete the cache or wait 10 minutes.
Where is the mistake?