• Here is my issue.

    I have two plugins installed that like to load their CSS files on every page of my website: My Contact Form plugin and my reCaptcha plugin. However, these plugins only appear on certain pages. How do I fix it to where the CSS for these plugins only loads on the pages where the item is actually located? Is this even possible?

    It could potentially speed up my site more if I could fix this. Thanks for any help!

Viewing 1 replies (of 1 total)
  • I think, as a general rule of thumb, once it’s loaded into a viewers browser cache, it’s called from there in most cases if needed again during a session. So, I think a second request for the style sheet for the plugins would actually (probably) be loaded from the cache on the users machine rather than your server.

    I’m not completely sure that is correct in your case, but it sounds good.

    ??

Viewing 1 replies (of 1 total)
  • The topic ‘How to fix CSS appearing on all pages (doesn’t need to!)’ is closed to new replies.