Dequeue Scripts and Styles by Page
Conditionally dequeues specified CSS and JS handles on pages where they are not needed, reducing per-page asset weight.
PHPProby SnipCraft
This is a Pro snippet
The full code for “Dequeue Scripts and Styles by Page” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#assets#dequeue#optimization#performance