Support » Plugin: Swift Performance Lite » Caching breaks amazon ads

  • Resolved darkplatinum100

    (@darkplatinum100)


    Hello. I decided to try out amazon advertising today. I see that when I cache the page, it breaks the html. I have even tried turning off minifying html to see if that helps, but no it did not.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Fred

    (@fredawd)

    Fastest solution is to disable Merge scripts or find the conflicting files and exclude them in Settings->Optimizations->Scripts: Exclude Scripts

    darkplatinum100

    (@darkplatinum100)

    Ok I will do that. How can I find the scripts if it is a widget on a sidebar? Its custom HTML widget.

    Plugin Contributor Fred

    (@fredawd)

    If there is a javascript error, then the easies way is using firebug or the Chrome Inspector (right click on the thumbnail and choose “Inspect element”). Open the console tab of either and refresh the page. If there is an error, it will be reported in the console and provide a link to the relevant line.

    If there is no error being reported, then the code’s logic is preventing the box from being displayed. You’ll need to step through the code to find the error. Look at what function is being called from the click handler of the thumbnail image. Go to that function in either tool and place a breakpoint on the first line of the function. Click the thumbnail again and the code will pause on that line. From there you can step through the code and see which code branch is followed.

    But, if your server supports HTTP/2 I would just disable merge scripts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.