Automattic / Automattic/jetpack

Evaluate async and defer for inline scripts

Open
#8,891 5 comments 0 reactions 0 assignees View on GitHub
[Focus] Performance [Pri] Normal [Type] Janitorial Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

There are several inline scripts that would benefit from using the async and defer, going thru and adding these can help improve performance. Here is a quick search you can use to review:

https://github.com/Automattic/jetpack/search?p=1&q=%3Cscript+type%3D%22text%2Fjavascript%22%3E&type=&utf8=%E2%9C%93

Contributor guide

Open the contributing guide

Research direction

Use the linked GitHub search for occurrences of as the entry point. Review each inline script for whether async or defer is appropriate, checking that dependent behavior remains intact. Done means the applicable scripts have been evaluated and safe performance improvements are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.