• Resolved javicore

    (@javicore)


    Hi!

    I have a script in the body of the page that is moved to the footer with wp fastest cache. I have the premium version btw.

    I tried excluding JS for anything containing “tradingview”, but it didn’t work. At this moment, I have the whole page excluded, but that is affecting page speed.

    See the difference:
    -https://core-scientific.com/karat-calculator (whole page excluded, that script/widget it appears at the top of the page – the gold prices widget)
    -https://core-scientific.com/testing-wp-fastest-cache/ (the script/widget is at the footer)

    I just need to know how to exclude the script below for that widget that is on the body of the page so that WP Fastest Cache does not put it in the footer

    <!-- TradingView Widget BEGIN -->
    <div class="tradingview-widget-container">
      <div class="tradingview-widget-container__widget"></div>
      <div class="tradingview-widget-copyright"><a href="https://www.tradingview.com" rel="noopener" target="_blank"><span class="blue-text">Live Data</span></a> by TradingView</div>
      <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-tickers.js" async>
      {
      "symbols": [
        {
          "description": "Gold US",
          "proName": "TVC:GOLD"
        },
        {
          "description": "Silver US",
          "proName": "TVC:SILVER"
        },
        {
          "description": "Palladium US",
          "proName": "TVC:PALLADIUM"
        },
        {
          "description": "Platinum US",
          "proName": "TVC:PLATINUM"
        }
      ],
      "colorTheme": "light",
      "isTransparent": false,
      "showSymbolLogo": true,
      "locale": "en"
    }
      </script>
    </div>
    <!-- TradingView Widget END -->

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Have Premium – Problem with inline javascript plugin moved to footer’ is closed to new replies.