Title: commonWP
Author: Milan Dinić
Published: <strong>14 september 2018</strong>
Last modified: 24 februari 2019

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/commonwp.svg)

# commonWP

 Av [Milan Dinić](https://profiles.wordpress.org/dimadin/)

[Ladda ner](https://downloads.wordpress.org/plugin/commonwp.1.1.0.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/commonwp/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/commonwp/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/commonwp/#developers)

 [Support](https://wordpress.org/support/plugin/commonwp/)

## Beskrivning

commonWP is a plugin that enables usage of free, public CDN ([jsDelivr](https://www.jsdelivr.com/))
for open source JavaScript and CSS files. Those files are:

 * All files from WordPress core, unless development version of WordPress is used.
 * All files from plugins hosted by WordPress.org Plugins Repository, unless author
   of specific plugin doesn’t use [SVN tags for releasing](https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#tagging-new-versions).
 * All files from themes hosted by WordPress.org Themes Repository.
 * All files from plugins and themes hosted on [GitHub](https://github.com/) that
   support [GitHub Updater](https://github.com/afragen/github-updater).
 * All files marked as available on [npm](https://www.npmjs.com/) 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](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)
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](https://github.com/dimadin/commonWP).

## Recensioner

![](https://secure.gravatar.com/avatar/8da0986052c1c3899c72f4f06071779e013297278c2daa84c8dde975fdfdb848?
s=60&d=retro&r=g)

### 󠀁[It does the job beautifully](https://wordpress.org/support/topic/it-does-the-job-beautifully-2/)󠁿

 [Cristian J. Hidalgo](https://profiles.wordpress.org/sircam73/) 21 december 2023

Period.

![](https://secure.gravatar.com/avatar/cdf9b2709188a2f36dc5d9e01910afcb87f4900632a0f996d543aa2b4891242a?
s=60&d=retro&r=g)

### 󠀁[Good Job!](https://wordpress.org/support/topic/good-job-1427/)󠁿

 [sagas1324](https://profiles.wordpress.org/sagas1324/) 27 mars 2021

Thank you, working ! ☺

![](https://secure.gravatar.com/avatar/133d79eae72e04f2ec4c75e584f688a646235b389161a85a0d1c384d5d28dbfb?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-7253/)󠁿

 [bsmolyanov](https://profiles.wordpress.org/bsmolyanov/) 14 november 2020

I trully hope this wonderful plugin will be supported!

![](https://secure.gravatar.com/avatar/a402a66cd2e743108402a060a3a9f68e27124af71189a63ebc827104734cd551?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-6739/)󠁿

 [SandyMe](https://profiles.wordpress.org/sandyme/) 8 maj 2020 1 svar

Just install, activate, and immediate improvement. Thank you!!! Your work is appreciated.

![](https://secure.gravatar.com/avatar/4f0ef294038989ca9f0131e0a0627b0c289f0c498e3bdeb97f21f6fe940065a8?
s=60&d=retro&r=g)

### 󠀁[One of the best FREE plugin](https://wordpress.org/support/topic/one-of-the-best-free-plugin-5/)󠁿

 [Julian Song](https://profiles.wordpress.org/julians3/) 30 september 2019

Thank you for such amazing plugin

![](https://secure.gravatar.com/avatar/c4013d605692b83e8352621b52cd24ca743bd7918df5ddad2677f9136d775ff8?
s=60&d=retro&r=g)

### 󠀁[Doesn’t play well with AutOptimize](https://wordpress.org/support/topic/doesnt-play-well-with-autoptimize/)󠁿

 [mesmer7](https://profiles.wordpress.org/mesmer7/) 22 september 2019 1 svar

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.

 [ Läs alla 18 betyg ](https://wordpress.org/support/plugin/commonwp/reviews/)

## Bidragsgivare och utvecklare

”commonWP” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

”commonWP” har översatts till 6 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/commonwp/contributors)
för deras bidrag.

[Översätt ”commonWP” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/commonwp)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/commonwp/), kika på
[SVN-filförvaret](https://plugins.svn.wordpress.org/commonwp/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/commonwp/) via [RSS](https://plugins.trac.wordpress.org/log/commonwp/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.1.0

 * Released on 27th December 2018
 * Define scripts added in WordPress 5.0 that are available on npm.
 * Fix version of WordPress core on GitHub for major versions.
 * Disable Jetpack Site Accelerator for static files.
 * Minor inline documentation fixes.

## Meta

 *  Version **1.1.0**
 *  Senast uppdaterat **7 år sedan**
 *  Aktiva installationer **400+**
 *  WordPress-version ** 4.7 eller senare **
 *  Testat upp till **5.1.22**
 *  PHP-version ** 5.4 eller senare **
 *  Språk
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/commonwp/), [Dutch](https://nl.wordpress.org/plugins/commonwp/),
   [English (US)](https://wordpress.org/plugins/commonwp/), [Italian](https://it.wordpress.org/plugins/commonwp/),
   [Serbian](https://sr.wordpress.org/plugins/commonwp/), [Spanish (Chile)](https://cl.wordpress.org/plugins/commonwp/)
   och [Spanish (Spain)](https://es.wordpress.org/plugins/commonwp/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/commonwp)
 * Etiketter
 * [cdn](https://sv.wordpress.org/plugins/tags/cdn/)[free cdn](https://sv.wordpress.org/plugins/tags/free-cdn/)
   [jsDelivr](https://sv.wordpress.org/plugins/tags/jsdelivr/)[performance](https://sv.wordpress.org/plugins/tags/performance/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/commonwp/advanced/)

## Betyg

 4.7 av 5 stjärnor.

 *  [  16 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/commonwp/reviews/?filter=5)
 *  [  1 4-stjärnig recension     ](https://wordpress.org/support/plugin/commonwp/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/commonwp/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/commonwp/reviews/?filter=2)
 *  [  1 1-stjärnig recension     ](https://wordpress.org/support/plugin/commonwp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/commonwp/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/commonwp/reviews/)

## Bidragande personer

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/commonwp/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://milandinic.com/donate/)