Support » Plugin: Simple Lightbox » Tons of extra scripts

  • I wouldn’t call this plugin “simple” since it adds 7 extra scripts to the page load. Why you can’t optimize it properly so it has one script and one style tag added to the page…

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

    (@archetyped)

    Hi, as combining assets into single files was the recommended practice for a long time, it’s understandable to think it is still the best practice. However, SLB is optimized for modern technologies like HTTP/2, where multiple file are downloaded in parallel, resulting in faster page loads than a single combined file, not slower.

    Additionally, SLB’s code is modular, so only the code necessary for the page is loaded. These modules can be cached by the browser for even faster loading, while a combined file would need to be re-downloaded on each page for even the smallest change.

    Here are a few resources to get up to speed on these technologies and best-practices:

    There is indeed always more work to do, but SLB is built inside and out with performance in mind, from clean efficient code, to loading files in a way that makes the most of modern technologies to help your site load as quickly as possible.

    I’ve actually been doing a lot of benchmarking and speed tests for an upcoming update, so I would love to see any benchmarks you have that show SLB to be slow or heavy.

    Thanks.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.