Do images in plugins automatically load?


I have a plugin that I’ve written that simply provides functionality for shortcodes for images in the plugins /includes/svg folder. So essentially a page can use a short code tag to place an image in an HTML block.

My image folder is getting really big, and I don’t want the user to have to download all of my images just to see one page.

My question is: will a browser download all of the images in the /include/svg directory if the plugin affects the page, or does WordPress only provide those images if the shortcode specifically calls for the image?

I suppose I could clear my browser cache just to find out, but I like my cache.

Mr No 3 months 0 Answers 6 views 0

Leave an answer