{"id":319311,"date":"2026-05-31T09:44:48","date_gmt":"2026-05-31T09:44:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/berq-used-css\/"},"modified":"2026-05-31T11:35:30","modified_gmt":"2026-05-31T11:35:30","slug":"berq-used-css","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/berq-used-css\/","author":23148973,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.14","stable_tag":"1.0.14","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Berq Used CSS","header_author":"BerqWP","header_description":"Make your website load faster by removing unused CSS. Berq Used CSS automatically strips bloated stylesheets down to only what each page actually needs.","assets_banners_color":"","last_updated":"2026-05-31 11:35:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/berqwp.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":60,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.13":{"tag":"1.0.13","author":"berqwp","date":"2026-05-31 09:55:42"},"1.0.14":{"tag":"1.0.14","author":"berqwp","date":"2026-05-31 11:35:30"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3555431,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3555431,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.13","1.0.14"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3555296,"resolution":"1","location":"assets","locale":"","width":2558,"height":1370}},"screenshots":{"1":"Settings page"}},"plugin_section":[],"plugin_tags":[187,5896,247,794,265147],"plugin_category":[52,54],"plugin_contributors":[232789,222160],"plugin_business_model":[],"class_list":["post-319311","plugin","type-plugin","status-publish","hentry","plugin_tags-optimization","plugin_tags-page-speed","plugin_tags-performance","plugin_tags-speed","plugin_tags-used-css","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-berqwp","plugin_contributors-thevisionofhamza","plugin_committers-berqwp"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/berq-used-css\/assets\/icon-128x128.png?rev=3555431","icon_2x":"https:\/\/ps.w.org\/berq-used-css\/assets\/icon-256x256.png?rev=3555431","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/berq-used-css\/assets\/screenshot-1.jpg?rev=3555296","caption":"Settings page"}],"raw_content":"<!--section=description-->\n<p>Every WordPress theme and plugin loads CSS for every possible feature - menus, sliders, pop-ups, forms, even on pages that don't use any of them. All that extra CSS slows your site down and hurts your Google PageSpeed score.<\/p>\n\n<p><strong>Berq Used CSS fixes this automatically.<\/strong><\/p>\n\n<p>It scans each page of your website, figures out exactly which CSS rules are actually used, and saves a trimmed-down version. From that point on, visitors get only the CSS they need - nothing more. Pages load faster, your PageSpeed score goes up, and you didn't have to touch a single line of code. It works with every WordPress theme, page builder, and plugin - including Elementor, Divi, WooCommerce, and Gutenberg - right out of the box.<\/p>\n\n<p><strong>How it works:<\/strong><\/p>\n\n<ol>\n<li>A visitor lands on a page for the first time - the full, original stylesheet loads normally so nothing looks broken.<\/li>\n<li>In the background, the plugin analyses the page and saves a lean version of its CSS.<\/li>\n<li>Every visitor after that gets the smaller CSS file, and the page loads noticeably faster.<\/li>\n<\/ol>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>100% free - no account, no sign-up, and no data sent to external servers<\/li>\n<li>Automatically generates used CSS for every page - no manual work required<\/li>\n<li>Processes pages quietly in the background so your site stays fast while it works<\/li>\n<li>Three stylesheet loading modes: keep originals, load them after interaction, or remove them entirely<\/li>\n<li>Exclude any URL or CSS selector you want to keep untouched<\/li>\n<li>Strip web font declarations and background images from the generated CSS to save even more weight<\/li>\n<li>Clears automatically when you save a post, update a plugin or theme, or change your design in the Customizer or Elementor<\/li>\n<li>Compatible with WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, SiteGround Optimizer, Nginx Helper, and more<\/li>\n<li>Works with every WordPress theme and plugin - no compatibility issues<\/li>\n<li>Works alongside <a href=\"https:\/\/berqwp.com\/\">BerqWP<\/a> for a fully optimised site<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to your site via <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>, or search for \"Berq Used CSS\" in the plugin directory.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Visit your website - used CSS will start generating automatically in the background. No configuration needed to get started.<\/li>\n<\/ol>\n\n<p>Optional: go to <strong>Settings \u2192 Berq Used CSS<\/strong> to choose a stylesheet loading mode, exclude specific pages, or clear the cache.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20to%20create%20an%20account%20or%20sign%20up%20for%20anything%3F\"><h3>Do I need to create an account or sign up for anything?<\/h3><\/dt>\n<dd><p>No. Berq Used CSS works entirely on your own website. There is no account to create, no sign-up required, and no data is sent to any external server.<\/p><\/dd>\n<dt id=\"will%20this%20break%20my%20website%27s%20design%3F\"><h3>Will this break my website's design?<\/h3><\/dt>\n<dd><p>No. On the first visit to any page, the full original stylesheet loads exactly as before - nothing changes visually. The plugin only serves the trimmed CSS once it has finished analysing the page in the background.<\/p><\/dd>\n<dt id=\"how%20long%20does%20it%20take%20to%20generate%20used%20css%20for%20my%20pages%3F\"><h3>How long does it take to generate used CSS for my pages?<\/h3><\/dt>\n<dd><p>Most pages are processed within 15\u201330 seconds of the first visit. The plugin works quietly in the background so your visitors never notice anything happening.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20update%20my%20theme%20or%20a%20plugin%3F\"><h3>What happens when I update my theme or a plugin?<\/h3><\/dt>\n<dd><p>The plugin automatically clears the saved CSS and re-generates it. This happens whenever you save a post, update a theme or plugin, make changes in the Customizer, or clear cache in Elementor.<\/p><\/dd>\n<dt id=\"which%20stylesheet%20loading%20mode%20should%20i%20choose%3F\"><h3>Which stylesheet loading mode should I choose?<\/h3><\/dt>\n<dd><p>Start with <strong>Load immediately<\/strong> (the default) - this already gives you a faster page by serving lean CSS. If you want the maximum speed boost, try <strong>Load after interaction<\/strong>, which delays the original stylesheets until the visitor scrolls or clicks. Use <strong>Remove completely<\/strong> only if you are confident the generated used CSS covers everything your pages need.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20my%20theme%20and%20plugins%3F\"><h3>Does it work with my theme and plugins?<\/h3><\/dt>\n<dd><p>Yes - Berq Used CSS works with every WordPress theme and plugin without any configuration. It reads the CSS that your pages actually output, so it doesn't matter whether you use Elementor, Divi, WPBakery, Gutenberg, WooCommerce, or any other tool. If your page loads in a browser, the plugin can generate used CSS for it. When you save changes in Elementor or switch themes, the saved CSS is automatically cleared and re-generated.<\/p><\/dd>\n<dt id=\"will%20it%20affect%20my%20google%20pagespeed%20%2F%20core%20web%20vitals%20score%3F\"><h3>Will it affect my Google PageSpeed \/ Core Web Vitals score?<\/h3><\/dt>\n<dd><p>Yes - removing unused CSS directly reduces the amount of render-blocking CSS the browser has to process, which improves First Contentful Paint (FCP) and other Core Web Vitals metrics.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.14<\/h4>\n\n<ul>\n<li>Update readme<\/li>\n<\/ul>\n\n<h4>1.0.13<\/h4>\n\n<ul>\n<li>Use wp_enqueue APIs for JS and CSS output instead of raw echo<\/li>\n<li>Escape inline CSS output via wp_strip_all_tags<\/li>\n<li>Fix unclosed output buffer - explicitly closed on shutdown<\/li>\n<li>Fix protocol-relative URL path resolution in CSS extractor<\/li>\n<li>Skip pages with query parameters from CSS generation<\/li>\n<li>Invalidate used CSS on post save, theme\/plugin update, Customizer, and Elementor changes<\/li>\n<li>Add BerqWP cache compatibility hooks<\/li>\n<li>Speed up heartbeat - first beat fires in 1s, base interval reduced to 3s<\/li>\n<\/ul>\n\n<h4>1.0.12<\/h4>\n\n<ul>\n<li>Update voku\/simple_html_dom library version<\/li>\n<\/ul>\n\n<h4>1.0.11<\/h4>\n\n<ul>\n<li>WP Repo technical improvements<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Automatic used CSS generation in the background for every page.<\/li>\n<li>Three stylesheet loading modes: immediate, defer until interaction, remove.<\/li>\n<li>Exclude specific URLs and CSS selectors.<\/li>\n<li>Option to strip @font-face rules and background images.<\/li>\n<li>Compatible with major caching plugins and BerqWP.<\/li>\n<li>Automatic cache invalidation on post save, theme\/plugin update, Customizer save, and Elementor changes.<\/li>\n<\/ul>","raw_excerpt":"Make your website load faster by removing unused CSS. Automatically strips bloated stylesheets down to only what each page actually needs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/319311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=319311"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/berqwp"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=319311"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=319311"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=319311"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=319311"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=319311"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=319311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}