jgorset/fandjango — Issue #58: Troubles with caching
Author: Morpho
Created: 2012-03-09 13:22:53+00:00
State: open

Hey,
I have an application that sends email notification to users, when a new entry is made to there "wall" inside an app. Now that you only cache user's email for one day, I dont have the emails addresses anymore, after a user doesnt log in for 2 days and the token expires. I dont think its a good idea to rely on the fact that all users will always login to have their data present. When there is a user not logging in for some days, I wont have a valid accesstoken and so I wont have his locale, his email, etc.

The caching system should just overwrite! its cached values every day, but the key itself should not expire, so at least an old email or locale will always be present.

What do you think?