Exclude sections, JavaScript, etc. from being optimized

Exclude sections, JavaScript, etc. from being optimized

You are here:
Estimated reading time: < 1 min

To exclude specific sections or JavaScript from optimization (remove Whitespaces, merge JavaScript,...) use the following method (this could be the case for e.g. banners placed by JavaScript):

<!--[borlabs-exclude-start]-->
Your section or code which you want to exclude
<!--[borlabs-exclude-end]-->
There is no option in Borlabs Cache to exclude JavaScript code of a specific plugin. If something isn't working after you have activate to merge JavaScript, the chance is 99% that one JavaScript has a syntax error and the correct way to fix that is to fix the code and not exclude the code from the merging process. If you need help to find the JavaScript file with the broken syntax, just ask our support.
Was this article helpful?
Dislike 5
Views: 137

Cookie Preference

Please choose an option. You can find more information about the consequences of your choice via Help. Privacy Policy | Imprint

Select an option to continue

Your selection was saved!

Help

Help

To continue, you must make a cookie selection. Below is an explanation of the different options and their meaning.

  • Accept all cookies:
    Every cookie like tracking and analytic cookies (Google Analytics).
  • Only allow necessary cookies:
    Only necessary cookies like the cookie of Paddle for the checkout.

You can change your cookie setting here anytime: Privacy Policy. Imprint.

Back