Forum Forum Magento Theme SNS Sport – Magento Theme Defer Javascript

  • Author
    Posts
  • #21266

    janna
    Participant

      I have been attempting to defer Javascript in page.xml and local.xml by adding defer. I am doing one script at a time, clearing the cache and loading the page to test. I am finding some scripts can’t be or shouldn’t be deferred as they affect things like the home page slider block.

      This process of trying to defer scripts per Google Page Speed analysis is a tedious process (there are 44 scripts it recommends to defer) doing it one script at a time.

      Do you have any insight into which scripts in the theme can be deferred without affecting page display? And which should not be?

    You must be logged in to reply to this topic. Click here to login or register