WordPress.org

Ready to get started?Download WordPress

Forums

Simple Twitter Tweets
[resolved] reset cache button is needed (4 posts)

  1. kn00tcn
    Member
    Posted 1 year ago #

    excellent to the point plugin, but i ran into a major oversight

    i wanted to raise then lower the amount of tweets shown, however when i lowered the amount, it did not create a new cache of the tweets, so it kept ignoring the setting

    i changed to a different username & it displayed the amount of tweets correctly, then switched back to the previous username & it incorrectly displayed the additional ones from the earlier test

    anyway i had to go into phpmyadmin to delete the row that contained the tweets

    if you could put a button to clear the cache, that would be perfect

    i would also recommend an option to store the cache as a file on the server instead of only on the database

    http://wordpress.org/extend/plugins/simple-twitter-tweets/

  2. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    Hi kn00tcn,

    Thanks for the feedback.

    Your right the option does display the number of previously stored tweets, but only because the connection to twitter didn't occur (api limits etc.) had it got through your options setting would have kicked in and displayed the correct NEW number of tweets as saved in your widgets panel instead recalling the saved archive from the database.

    A fair request though (reset cached tweets) so will look at this for next release ;)

    Regarding the text file storage, the failsafe is just supposed to be that, so is only called when required; as this tried and tested for WordPress options, settings and content I think it's a pretty robust solution.

    Glad you like the plugin, more goodness coming too :)

  3. kn00tcn
    Member
    Posted 1 year ago #

    i attempted setting the api time to 1 minute, but i'm pretty sure it didnt work, could it be that it doesnt alter the cache if no new tweets were written?

  4. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    The cache is is stored until a connection to the Twitter API is released by Twitter. If you are on a busy server/IP that makes many connection it can be a while for the subscription allocation to free up.

    Once it does when your site hits Twitter then the Tweets can be displayed and the new set (with the new number to display) will be shown and stored.

    Thanks for bringing this up - definitely something to consider if others are interested.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.