Tweet button retrieves old text from <title> after updating



I have website that has a tweet button on every page. It uses the < title > tag in the web page for the title.

Now, I have dynamically updated the < title > tag but then when I share the page, it still uses the old page title.

Is there any chance that I could clear cache the tweet button perhaps so it will get the latest page title? Or any work around?


I still have no progress. Anyone who has any idea?


Are you able to share a link to the site that displays this issue?


The title element is used to pre-populate the text when no text parameter is provided to the Tweet button.

Are you able to initialize a Tweet button (JS factory function or HTML-enhanced) with an explicitly set text parameter instead of relying on the fallback content of the HTML title element?