dropplets icon indicating copy to clipboard operation
dropplets copied to clipboard

Calling Twitter for profile picture every page load

Open misterben opened this issue 13 years ago • 5 comments

It would appear that we're calling for the twitter profile JSON file on every page load to get the twitter avatar. This can lead to exceeding the API rate limit. It would be better to cache this image locally (and any other required profile information), and only update it, say, daily.

misterben avatar Aug 06 '13 15:08 misterben

Already on the list of things to do this week.

jptksc avatar Aug 06 '13 19:08 jptksc

~~For some reason after I change my twitter profile picture the change does not show up. I tried clearing cache changing twitter usernames but stuck with the issue.~~

theidlebrain avatar Aug 19 '13 20:08 theidlebrain

Strange. I'm assuming you're using the latest version of Dropplets?

jptksc avatar Aug 19 '13 23:08 jptksc

Nevermind after some fiddling I realized it was my mistake. The culprit is the CDN.

theidlebrain avatar Aug 20 '13 06:08 theidlebrain

Good to hear you figured it out.

jptksc avatar Aug 20 '13 14:08 jptksc