Title: MnCombine
Author: mneil
Published: <strong>27 mai 2013</strong>
Last modified: 31 mars 2016

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# MnCombine

 Par [mneil](https://profiles.wordpress.org/mneil/)

[Télécharger](https://downloads.wordpress.org/plugin/mncombine.1.1.6.zip)

 * [Détails](https://fr.wordpress.org/plugins/mncombine/#description)
 * [Avis](https://fr.wordpress.org/plugins/mncombine/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/mncombine/#installation)
 * [Développement](https://fr.wordpress.org/plugins/mncombine/#developers)

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

## Description

Finds all possible .js and .css files from a WP install available and allows you
to combine and/or compress the files to reduce
 load time. The plugin can monitor
file changes in « development » mode (by hashing file mtime) which allows the plugin
to recompile the files when a file changes. Or, it can cache the files in « production»
mode so that files are only recompiled if they are not found or are deleted manually
from the cache folder. Additionally, this plugin will allow you to force the inclusion
of javascript files into either the head or the foot of the page.

There are two modes, development and production, the ability to force the files 
to print in the header or footer*, the use of
 Google Closure as a JS compiler, 
and finally the ability to pick and choose which files, including dependencies, 
should be combined.

*forcing head compiles can fail on JS files queued after the call to wp_head(). 
The plugin will, in this case, render the late
 queued files in the footer as originally
intended.

## Captures d’écrans

 * [[
 * Choose the compression settings and mode
 * [[
 * Select which files to combine from a list of files available in your WP install,
   active plugins, and active theme
 * [[
 * Total request of 17 uncompressed/combined files : 5136ms. 79.254kb of transfered
   data. Page load time 1.19s
 * [[
 * Total request of 3 compressed/combined files : 578ms. 66kb of transfered data.
   Page load time 1.13s. Significantly more time is saved when comparing the browser
   cached results of the two requests.

## Installation

 1. Upload `mncombine` folder to the `/wp-content/plugins/` directory
 2. Activez-la via le menu Extensions dans l’admin WordPress
 3. Visit the admin panel and choose your options

## FAQ

  Why does the first compile take so long with Google Closure OR why is development
mode so slow to recache with Google Closure?

Google Closure is a 3rd party JS compiler that the plugin must make requests to 
in order to receive compressed markup. And, because
 we allow you to choose whether
or not to combine some files we have to make multiple requests to the service to
maintain dependency inclusion. This results in a bit of latency when caching your
files. However, in production mode, once the files are generated they do not have
to be regenerated again and load times are improved significantly. Using JSMin is
much faster and recommended for use in conjunction with development mode.

  Can I exclude certain pages from using the plugin

As of version 1.1.0 you can exclude pages from compiling/compressing css or js files
using a regular expression in the general
 settings tab.

## Avis

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

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-2095/)󠁿

 [Aboobacker Amani](https://profiles.wordpress.org/aboobackeramani/) 25 mars 2017

the plugin not working correctly.

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

### 󠀁[combine doesn´t works](https://wordpress.org/support/topic/combine-doesnt-works/)󠁿

 [twinsdz](https://profiles.wordpress.org/twinsdz/) 3 novembre 2016

combine doesn´t works

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

### 󠀁[Impressive Site Speed Gains](https://wordpress.org/support/topic/impressive-site-speed-gains/)󠁿

 [Brian Bateman](https://profiles.wordpress.org/webdesignxtc/) 3 septembre 2016

I was getting very frustrated with trying to make my single site on a 48 processor
VPS work quickly enough to be usable. I’ve tried several cache plugins with various
settings. Any attempt to use Minify or combine with those broke the site. MNCombine
works very easily. It WORKS! This is a must have plugin on any WordPress website.
I’m adding it to all of my sites and I am going to gladly make a donation to the
developer.

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

### 󠀁[Great Plugin.](https://wordpress.org/support/topic/great-plugin-7517/)󠁿

 [dov123](https://profiles.wordpress.org/dov123/) 3 septembre 2016

Great Plugin.

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

### 󠀁[not working](https://wordpress.org/support/topic/not-working-1960/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) 7 février 2017

not have a correct header

 [ Lire les 20 avis ](https://wordpress.org/support/plugin/mncombine/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« MnCombine » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ mneil ](https://profiles.wordpress.org/mneil/)

[Traduisez « MnCombine » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/mncombine)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/mncombine/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/mncombine/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/mncombine/)
par [RSS](https://plugins.trac.wordpress.org/log/mncombine/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.1.6

 * Admin page requires edit_posts capability

#### 1.1.5

 * Skip checking when script handle is empty

#### 1.1.4

 * Suppress errors on strstr($js, $use) when use is empty

#### 1.1.3

 * Verified working on WP version 3.8.1

#### 1.1.2

 * Verified against WP version 3.6.1
 * Removed warning on login page where wp_scripts is not set

#### 1.1.1

 * Fixed Fatal Error on « Cache » admin page before cache folder had been generated

#### 1.1.0

 * Added ability to not combine css files based on REQUEST_URI
 * Added ability to not combine js files based on REQUEST_URI

#### 1.0.4

 * Fixed bug where plugin combined all css if no css files were selected

#### 1.0.3

 * Option to compress css or not
 * Dependency bug fixed when opting not to combine js files that share dependencies
   with compressed files

#### 1.0.0

 * The very first version in all it’s glory

## Méta

 *  Version **1.1.6**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **50+**
 *  Version de WordPress ** 3.3.1 ou plus **
 *  Testé jusqu’à **4.4.34**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/mncombine/)
 * Étiquettes
 * [css](https://fr.wordpress.org/plugins/tags/css/)[javascript](https://fr.wordpress.org/plugins/tags/javascript/)
   [JS](https://fr.wordpress.org/plugins/tags/js/)[style](https://fr.wordpress.org/plugins/tags/style/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/mncombine/advanced/)

## Évaluations

 4.2 sur 5 étoiles.

 *  [  14 avis à 5 étoiles     ](https://wordpress.org/support/plugin/mncombine/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/mncombine/reviews/?filter=4)
 *  [  1 avis à 3 étoile     ](https://wordpress.org/support/plugin/mncombine/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/mncombine/reviews/?filter=2)
 *  [  3 avis à 1 étoiles     ](https://wordpress.org/support/plugin/mncombine/reviews/?filter=1)

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

[Voir tous les avis](https://wordpress.org/support/plugin/mncombine/reviews/)

## Contributeurs

 *   [ mneil ](https://profiles.wordpress.org/mneil/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/mncombine/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://mneilsworld.com/donate)