How to Clear Twitter Cache in One Easy Step

We have probably all been there. You publish a blog post, post it to social, and then you realize there is a grammar or spelling mistake. Or perhaps you update the picture. Well, before deleting your tweet there is actually a way to clear the cache manually. Follow the directions below on how to clear Twitter cache using the Twitter Card Validator in one easy step. You can then get back to reposting it on social.

How to Clear Twitter Cache

So in this example, we will take a look at a Tweet in which I screwed up lol. In the description of the post below, you can see the wording “…WordPress permalinks and it allows site admins…” As you can see this should really be “…WordPress permalinks and how they allow site admins…” to be grammatically correct.

tweet before cache

So instead of deleting the Tweet I fix the description in the WordPress post first and re-save it. Then I head over to the Twitter Card Validator tool. I insert the URL of the blog post and hit “Preview card.” This actually clears the cache on the Twitter side. As you can see below in the Tweet, it is now correctly showing the updated description.

clear cache twitter card validator

You can see the final tweet here:

How to Clear Twitter Cache on Images

Images are a little trickier as images on Twitter are cached based on the URL. This often causes images to not update when the above Card refresh technique is used. To workaround this issue, you can add an extra parameter at the end of your image URL so that the Twitterbot treats the image as a unique URL and re-fetches the image. You can rename your featured image in WordPress and re-upload it with a different file name.

Example:

myimage.jpg?4362984378

For SEO purposes I recommend simply adding a number on the end.

Example:

myimage-1.jpg

Then re-run the Twitter Card Validator tool and you will see your new image.

You can also do the same thing with the Facebook Open Graph Debugger tool. So the next time you mess up a blog post, instead of taking back your Tweets and FB posts, simply clear the cache on their side and your good to go! If this tutorial on how to clear Twitter cache using the Twitter Card Validator was helpful, feel free to let me know below.

GET MORE STUFF LIKE THIS

Marketing, WordPress, Blogging Tips, SEO and Reviews, once a week.

Thank you for subscribing.

Something went wrong.

4 Comments

  1. Marcus October 26, 2016
  2. Stephen March 21, 2017
    • Brian Jackson May 3, 2017

Add Comment

21 Shares
Tweet
Share
Share
Buffer