Consider using async/defer for script loading

Open
#1,756 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php, wordpress

Research direction

Start by inventorying the scripts loaded by the plugin and review the linked WordPress 6.3 guidance on async and defer attributes. Done means appropriate scripts use these attributes where compatible, with backward compatibility preserved; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Description

Maintenance & Fixes wp-parsely

Is your feature request related to a problem?

WordPress 6.3 has introduced the ability to register scripts with async and defer attributes.

Describe the solution you'd like

Check all the scripts we're loading, and see if it makes sense to apply async/defer to any of them. According to the above article, this can be done in a backward-compatible way.

Dominant language
PHP
Stars
67
Forks
38
Avg merge
1d 5h
Merged PRs (30d)
79

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Parsely/wp-parsely

All issues in Parsely/wp-parsely

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.