The data is being saved to the cache but the checkCache function always returns False so the web service call is always made. I believe I tracked this down to a now defunct field name for the Character Profile API. The Companions array is no longer valid so when checkCache verifies that all fields have been set, it cannot find Companions and returns false. To fix this, I removed 'companions' from the $fields array on line 9 in Character.class.php:
I changed:
private $fields = array('stats','talents','items','reputation','titles','professions','appearance','companions','mounts','achievements','progression','pvp','quests','pets','guild');
to:
private $fields = array('stats','talents','items','reputation','titles','professions','appearance','mounts','achievements','progression','pvp','quests','pets','guild');
I also noticed a few new pieces of data available in the Character Profile API that are not included:
feed
hunterPets
petSlots
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The data is being saved to the cache but the checkCache function always returns False so the web service call is always made. I believe I tracked this down to a now defunct field name for the Character Profile API. The Companions array is no longer valid so when checkCache verifies that all fields have been set, it cannot find Companions and returns false. To fix this, I removed 'companions' from the $fields array on line 9 in Character.class.php:
I changed:
private $fields = array('stats','talents','items','reputation','titles','professions','appearance','companions','mounts','achievements','progression','pvp','quests','pets','guild');
to:
private $fields = array('stats','talents','items','reputation','titles','professions','appearance','mounts','achievements','progression','pvp','quests','pets','guild');
I also noticed a few new pieces of data available in the Character Profile API that are not included:
feed
hunterPets
petSlots
New version out. Fixed that :)