Automattic / Automattic/jetpack
Automatically disable CDN when enabling debug mode
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Is your feature request related to a problem? Please describe.
I was recently redesigning my website and I did it in localhost. I enabled Jetpack's debug mode and noticed the CDN for CSS, JS and images was still working. If you don't have Internet access that's an issue.
#### Describe the solution you'd like
The solution would be pretty simple. When enabling debug mode, Jetpack should automatically disable every CDN so WordPress would use the local files.
#### Describe alternatives you've considered
The alternative is just disabling the CDN manually.
Contributor guide
Research direction
The issue does not name files, tests, or entry points. Start by locating Jetpack's debug-mode handling and the integrations that serve CSS, JavaScript, and image assets through CDNs. Done means enabling debug mode disables every CDN so the site uses local assets without Internet access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript, php
- Domain
- backend, performance, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100