• SportbikeSuspensionTuning

    (@sportbikesuspensiontuning)


    How much trouble would it be to implement a ‘performance optimization’ section into the settings menu? The goal would be to limit JS and CSS loading to only certain pages in lieu of site wide.

    Maybe something like:
    JS included on page IDs – 1,2,3
    JS excluded on page IDs – 4,5,6

    CSS included on page IDs – 1,2,3
    CSS excluded on page IDs – 4,5,6

    https://wordpress.org/plugins/testimonial-basics/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kevinhaig

    (@kevinhaig)

    Is Testimonial Basics causing performance issues on your site?

    I doubt the above would make any difference. The css files and the js scripts are very small. Am I missing something?

    Testimonial Basics can cause significant load time hits if you are loading excerpt styles and more than 10 testimonials at a time.

    Thread Starter SportbikeSuspensionTuning

    (@sportbikesuspensiontuning)

    Considering it’s loading it’s code on pages that don’t include anything associated with Testimonial Basic, it is contributing to performance issues on my site.

    I’m aware that the css and js are very small. But, combine that with other plugins very small css/js, it adds up. So, it would be nice to be able to direct that code toward the page that actually uses it.

    I have only one page that is pretty much dedicated to my feedback, and that is the only page that I intended to run Testimonial Basic.

    Just a suggestion for future updates.

    Very well done, by the way.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Limit JS and CSS to certain pages’ is closed to new replies.