Skip to content

norcross/airplane-mode

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
inc
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

Airplane Mode

Contributors

About

Control loading of external files when developing locally. WP loads certain external files (fonts, Gravatar, etc.) and makes external HTTP calls. This isn't usually an issue, unless you're working in an evironment without a web connection. This plugin removes/unhooks those actions to reduce load time and avoid errors due to missing files.

Current Actions

  • removes external JS and CSS files from loading
  • replaces all instances of Gravatar with a local image to remove external call
  • removes all HTTP requests
  • disables all WP update checks for core, languages, themes, and plugins
  • includes toggle in admin bar for quick enable / disable

Changelog

See CHANGES.md.

Notes

If you need offline activation, see this script written by Brian DiChiara

Roadmap

  • fine tune HTTP request removal
  • find other calls from core
  • add other requests from popular plugins

Pull requests are very much welcome and encouraged.