Automattic / Automattic/jetpack

Asset CDN: serve Akismet Frontend from CDN

Open
#35,291 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Akismet [Feature] Asset CDN [Plugin] Jetpack [Pri] Normal New Feature
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.