Skip to content

A huge <script type="text/inject-data"> tag is causing twitter card fetching problem #15

@sardormajano

Description

@sardormajano

Since I started using react-router-ssr, Twitterbot is returning error "response is too large" when I try to validate my news pages because twitter has a limit: you cannot validate pages with sizes more than 1MB. In my single-news page (http://nurotan.kz/single-news?id=pNJwNp7GYfeSkRCGf&lang=ru) the <script type="text/inject-data"> tag weighs 5MB. Is it possible not to render this tag for certain useragents (twitterbot for instance)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions