ghostkit icon indicating copy to clipboard operation
ghostkit copied to clipboard

Unused blocks still load scripts?

Open eduwass opened this issue 1 year ago • 2 comments

I noticed that all Ghoskit Block scripts were loaded on my page:

scriptUsage@2x

CleanShot 2024-02-07 at 09 54 51@2x

This is even when the blocks are not used. I also tried deactivating the blocks in /wp-admin/admin.php?page=ghostkit, but the scripts still seem to load.

It would be good if this could be done in a more efficient way with performance in mind.

Thanks!

eduwass avatar Feb 07 '24 08:02 eduwass

Thank you for the info. This is related to the Pro plugin, and we will fix it in the next major Pro release when the plugin will be standalone and will not require the Free plugin to be active. It should be released somewhere in March.

nk-o avatar Feb 08 '24 06:02 nk-o

Hi @nk-o that sounds great 🙌 Thanks again!

eduwass avatar Feb 08 '24 08:02 eduwass

👋 Hello! Just wondering if this has been fixed? I'm using the pro version (v3.3.2) and despite inserting only an icon block, many unrelated scripts were still being loaded Screenshot 2024-11-18 at 4 54 42 PM

edmundcwm avatar Nov 18 '24 08:11 edmundcwm

@eduwass Hi. We haven't fixed this issue yet, but we will address it in our next update.

nk-o avatar Nov 18 '24 21:11 nk-o

Hi. We haven't fixed this issue yet, but we will address it in our next update.

Hi @nk-o were you able to fix this?

Thanks!

eduwass avatar Mar 10 '25 15:03 eduwass