Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

commonWP

Descripción

El plugin commonWP nos permite utilizar el CDN público y gratuito (jsDelivr) con archivos JavaScript y CSS de código abierto. Esos archivos son:

  • Todos los archivos del núcleo de WordPress, excepto los de la versión de desarrollo.
  • All files from plugins hosted by WordPress.org Plugins Repository, unless author of specific plugin doesn’t use SVN tags for releasing.
  • Todos los archivos de temas alojados por WordPress.org en su repositorio de temas.
  • All files from plugins and themes hosted on GitHub that support GitHub Updater.
  • All files marked as available on npm in any type of theme, plugin, or MU plugin.

It aims to be both lightweight and very secure. The approach used in this plugin is safer then in any other plugin that enables usage of any CDN. First, commonWP will only rewrite file to point to one on jsDelivr if that remote file is identical to local one. Second, during comparison, it generates subresource identity hash of remote jsDelivr file and includes that hash in page’s source code so browser won’t load remote file if it doesn’t have exactly the same hash.

There are no any settings. After activation, it will fill up its cache in the background, and that may take some time depending on number of resources site uses.

For much more details about commonWP, head over to its GitHub repository.

Reseñas

8 de mayo de 2020
Just install, activate, and immediate improvement. Thank you!!! Your work is appreciated.
22 de septiembre de 2019
When I first installed CommmonWP, it made a mess of my style sheet. I had to disable the AutOptimize setting, "Aggregate CSS-files", to make the plugins work together. Unfortunately, that doubled the number of HTTP requests, which added 1 whole second to the page load time.
30 de agosto de 2019
it's amazing!!! I hope it will be integrated into the core to reduce traffic around the world.
16 de julio de 2019
Brilliant. I had Use Google Libraries for years not knowing it's not working anymore, lol! Thanks for this mate! UPDATE: I had to uninstall because it was moving my jquery loading script to the head. I need that to load in the footer to prevent delays for the visitors. Please let me know if you can sort that out.
21 de junio de 2019
This is a must plugin for each and every wp site out there. Mićo svaka čast 🙂
Leer todas las 15 reseñas

Colaboradores y desarrolladores

«commonWP» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«commonWP» ha sido traducido a 5 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «commonWP» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.1.0

  • Released on 27th December 2018
  • Define scripts added in WordPress 5.0 that are available on npm.
  • Se corrige la versión del núcleo WordPress en GitHub, para las versiones principales.
  • Disable Jetpack Site Accelerator for static files.
  • Minor inline documentation fixes.