Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Frontend Asset Debugger is a Drupal module that helps developers optimize frontend performance by identifying and eliminating unnecessary CSS and JavaScript. It detects duplicate assets, analyzes asset usage per component, and provides recommendations to reduce bloat and improve site speed.

Project Summary

Frontend Asset Debugger is a Drupal performance analysis module that helps developers identify unnecessary frontend assets, detect duplicate libraries, analyze component-level asset usage, and optimize CSS/JavaScript delivery across Drupal websites.

The module provides deep visibility into Drupal’s asset attachment system, helping teams reduce frontend bloat, improve rendering performance, and optimize Core Web Vitals for Drupal 10 and Drupal 11 websites.

Designed specifically for modern Drupal architectures including Layout Builder and Single Directory Components (SDC), the module offers advanced debugging dashboards, dependency analysis, and actionable optimization recommendations directly within the Drupal admin interface.

Features

Duplicate Asset Detection

  • Detect duplicate CSS and JavaScript files
  • Identify repeated library attachments
  • Highlight redundant dependencies
  • Detect duplicate framework loading

Per-Component Asset Analysis

Analyze frontend assets loaded by:

  • Single Directory Components (SDC)
  • Layout Builder sections
  • Blocks
  • Paragraphs
  • Themes
  • Contributed modules

Identify:

  • Unused component assets
  • Heavy components
  • Asset duplication across components
  • Conditional loading opportunities

Unused Library Detection

  • Detect libraries loaded but not used
  • Identify unnecessary third-party assets
  • Highlight globally attached libraries
  • Detect obsolete frontend dependencies

Render-Blocking Asset Analysis

  • Detect render-blocking CSS and JavaScript
  • Identify blocking libraries
  • Estimate render delay impact
  • Provide async/defer recommendations

Asset Dependency Graph

Visualize frontend asset relationships:

  • Library dependency chains
  • Component-to-asset mapping
  • Theme and module dependencies
  • Shared asset relationships

Frontend Optimization Dashboard

Interactive dashboard with:

  • Total asset metrics
  • Duplicate asset reports
  • Unused library statistics
  • Asset size analysis
  • Performance savings estimation
  • Render impact tracking

Reports & Exporting

  • Export optimization reports
  • Track asset trends over time
  • Compare scan results
  • Generate performance summaries

Use Cases

Frontend Performance Optimization

Reduce unnecessary frontend assets and improve page speed.

Drupal Theme Optimization

Analyze asset loading from custom and contributed themes.

Core Web Vitals Improvements

Improve:

  • Largest Contentful Paint (LCP)
  • First Contentful Paint (FCP)
  • Total Blocking Time (TBT)
  • Interaction to Next Paint (INP)

Component-Based Development

Optimize assets used by:

  • Single Directory Components (SDC)
  • Layout Builder
  • Paragraphs
  • Reusable frontend components

Enterprise Drupal Platforms

Useful for websites with:

  • Large frontend codebases
  • Multiple themes
  • Design systems
  • Heavy JavaScript usage
  • Complex component architectures

Benefits

  • Reduce frontend payload
  • Eliminate duplicate assets
  • Improve frontend maintainability
  • Optimize asset delivery
  • Improve Core Web Vitals
  • Enhance frontend debugging visibility
  • Simplify performance optimization workflows

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
3 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable May 20, 2026
1.0.x-dev Dev May 20, 2026