Automattic / Automattic/jetpack
Asset CDN: serve Akismet Frontend from CDN
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
None / Other
### What
Load akismet-frontend.js from CDN
### How
Currently Jetpack plugin css and js files load from the CDN when the option to load js and css files is set to on in site accelerator.
However the js enqueued by Akismet: `wp-content/plugins/akismet/_inc/akismet-frontend.js` is not.
Considering that Jetpack refers to Akismet in settings etc, putting a request to make the Akismet js file load from the CDN.
Contributor guide
Research direction
The requested asset is wp-content/plugins/akismet/_inc/akismet-frontend.js. Start by tracing Jetpack’s existing Site Accelerator handling for enqueued CSS and JavaScript, then determine how the Akismet asset should follow that path. Done means the file loads from the CDN when the site accelerator option is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100