Hi @mjbai,
I’m delighted to hear that Jetpack Boost has been effective in optimizing your site! That’s great news.
Regarding your question, Jetpack Boost currently doesn’t have a built-in option to exclude specific pages from optimization. However, it does offer an option to concatenate JS and CSS files, which allows you to specify specific strings to be excluded from concatenation.
To address your concern about excluding Jetpack Boost on certain pages, you can consider the following approach:
- Identify JavaScript or CSS Strings: On the pages where you’d like to exclude Jetpack Boost optimization, identify the JavaScript or CSS strings that are critical for those pages to function correctly. These strings may be related to specific features or functionality unique to those pages.
- Exclude Specific Strings: In Jetpack Boost settings, navigate to the options for concatenating JS and CSS files. There, you can specify the JavaScript or CSS strings that you wish to exclude from concatenation. This ensures that those specific strings are not optimized by Jetpack Boost.
- Test and Verify: After excluding the relevant strings, thoroughly test the pages in question to ensure they still function as expected. This step is essential to confirm that the exclusion doesn’t affect the user experience on those specific pages.
While this approach doesn’t offer page-level exclusions, it provides a way to target specific strings within your JavaScript and CSS files. By excluding the necessary strings, you can ensure that critical functionality on certain pages remains intact while benefiting from Jetpack Boost’s optimization on other parts of your site.
If you encounter any challenges during this process or have further questions, please don’t hesitate to reach out. We’re here to assist you!