rafaelmardojai / share-preview

Test social media cards locally
GNU General Public License v3.0
101 stars 16 forks source link

Refresh button to ask the selected site to clear the cache? #41

Open nekohayo opened 2 years ago

nekohayo commented 2 years ago

Social media sites' built-in share preview tools typically cache their opengraph previews, particularly images, but there usually is a button to force them to refresh / fetch the latest version. This is useful if you are actively working on improving the metadata on a website and are testing things with trial and error.

Would it be possible for this app to plug into those APIs to provide a Refresh button (when available)? If the refresh has a cooldown time limit for a particular site, the button could have a label (or GtkTooltip) that indicates that cooldown in real time while the button is in GTK "insensitive" status.