Automattic / Automattic/jetpack
Better handle podcast player dependencies
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
When adding a podcast player to a page, the file "components.min.js" is being enqueued.
77% percent of this file is not used, and this is a pretty big file. According to the DevTools coverage tool, more then 0.5MB of this file is not being used:

It makes it the first opportunity to come up in the Lighthouse report.
Maybe there is a more efficient way for enabling the podcast player?
Contributor guide
Research direction
Start by inspecting how the podcast player enqueues components.min.js, then use the referenced DevTools coverage result and Lighthouse report to identify the unused dependency cost. Done means proposing and implementing a more efficient loading approach for the podcast player, with its performance impact verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100