Support » Plugin: Dominant Colors Lazy Loading » Selective load DCLL js and css files

  • Resolved Kibinai76


    Hi I’m using Dcll in the archive page of a CPT and in few other pages. Is it possible to load css and js files only in that pages?

Viewing 1 replies (of 1 total)
  • Plugin Author manuelwieser


    I’m afraid that would overcomplicate the plugin. There are a lot of blog posts out there, dealing with disabling CSS/JS of plugins for specific pages, though. Maybe those can help you?

    Also do you use a plugin like Autoptimize, which combines all your styles in a single file and all of your JavaScript? If you do, you could choose to ignore the few bytes that DCLL adds, because the CSS (12 lines) and JS (48 lines) are really tiny, especially after gzip.

Viewing 1 replies (of 1 total)
  • The topic ‘Selective load DCLL js and css files’ is closed to new replies.