clickrain / EE_Twitter

EE Add-on that uses oAuth to display Twitter Feed
Other
48 stars 18 forks source link

Don't cache empty result #15

Closed EpocSquadron closed 10 years ago

EpocSquadron commented 11 years ago

When not authorized, or on authorization failure, this module still caches the result in system/expressionengine/cache/twitter. When retrying authorization, one might be misled to believing that it did not work when in fact it is simply returning from the cache. There should be appropriate detection in place to either clear the cache on authorization changes, or not cache at all with empty/error results, or both.