• Resolved bozzo23

    (@bozzo23)


    Hello.
    i use your pluggin and it is great , i do strip the fat out of my wordpress , yes i do.. mainly on the homepage… i remove all what i can.but , once page is loaded , while people may be reading or so , would be nice to load some JS or some CSS of the other page… i think its useless to try to load full next page , since guessing navigation is very hard.. but many people have stuff like galerie or other heavy loading ressource that we remove from home page , but we know they are needed for many of the other page…
    would be nice to abel to make small list of next file to load…

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @bozzo23 this feature is not available as the Preload CSS/JS is a rule that is applied site-wide for the targeted assets. You can’t just edit the homepage and choose which CSS/JS to prefetch (as this is something you likely need instead of preload, correct me if I’m wrong).

    If you check this URL https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content and scroll to “Other resource preloading mechanisms”, you’ll notice the explanation for <link rel="prefetch">

    This feature has been requested before and it will be implemented at some point (should be in the near future). I can let you know when that will happen either here or via email if you leave me a private message here: https://gabelivan.com/contact/

    Happy winter holidays!

Viewing 1 replies (of 1 total)

The topic ‘preload special css or js’ is closed to new replies.