Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, the preload field (which I assume you’re referring to) is used for every page. if you’re into PHP you could hook into the autoptimize_filter_extra_tobepreloaded filter and alter the preloads there based on request maybe?

    Thread Starter Insect Trojan

    (@insecttrojan)

    so in the autoptimize.php ? i need to add the autoptimize_filter_extra_tobepreloaded an there to set only to the homepage ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, never change a plugin’s PHP-code. Instead you would need to create a code snippet that uses that filter and with PHP code decide what URL’s to be preloaded on what page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preload Homepage’ is closed to new replies.