Categories


Archives


Recent Posts


Categories


Twitter Card Validator and Cache Clearer

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

I’m not sure I completly understand what Twitter Cards are — “frozen caveman developer who has drifted away from publishing software” and all that. I tend to think of them as the stuff twitter automatically adds to a tweet when you include a link.

I have recently learned though if you accidently publish something that’s a mistake, (like a bunch of PHP errors added to a page and then statically published to your site), the content of these twitter cards are cached, with unclear-to-me rules on how often that cache is refreshed.

Some googing about led me to a professinal-looking-but-maybe-content-farm-but-maybe-not-2019-amirite article site, in turn, led me to twitter’s own validtor tools for cards, which looks pretty useful AND (per the authors claims) should clear the cache of those cards.

So I tried that, and reposted my link and — the bad summary was still showing. So now what? Was this a problem on twitter’s end? Does the validator not actually clear the cache? Was teh cache purge request making its way through what I presume is a cavelcade of microservices at Twitter? Or was some frontend caching holding on to the bad description?

Copyright © Alana Storm 1975 – 2023 All Rights Reserved

Originally Posted: 14th February 2019

email hidden; JavaScript is required