Title: MinQueue
Author: Matthew Haines-Young
Published: <strong>26 novembre 2012</strong>
Last modified: 19 septembre 2013

---

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/minqueue.svg)

# MinQueue

 Par [Matthew Haines-Young](https://profiles.wordpress.org/mattheu/)

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

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

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

## Description

Minification & concatenation of JS and CSS files can reduce the file size of your
assets, and reduce the number of HTTP requests, helping improve page load times.

The plugin takes a manually defined list of script/style handles, and minifies and
concatenates them into a single file which is then cached for future use.

**Features.**

 * Minifies & concatenates scripts and styles loaded using the WordPress dependency
   enqueueing system.
 * Handles scripts loaded in the header & footer.
 * Complete control – only a manually defined list of files is processed.
 * Multiple, independently processed files.
 * Minified files are only loaded if at least one component file should be loaded.
 * Compatable with localized scripts.
 * Helper tool – displays a list of scripts and styles enqueued on each page on 
   the front end of the site.

## Installation

Install & Activate the plugin.

**Basic Use**

 * Enable the plugin front end tool to check what scripts and styles are minified
   on each page.
 * Copy the file handles you want to minify, and paste them into the minify queue
   textarea on the settings page.
 * Save the settings and view the front end of your site. The processed files are
   generated on page load. Check that everything is working correctly.
 * Uncheck the show helper option and save the settings again.

**Advanced use**

 * Multiple, independantly proccessed files. You can specify several lists of file
   handles to be minified and concatenated into separate files. Useful if you have
   scripts that are loaded conditionally on certain pages and should be handled 
   separately rather than minified and concatenated into one large file.
 * Options can be defined in your config file. This then disables access to the 
   settings page in the admin.

## FAQ

  Fatal error: Allowed memory size…

You have probably created an infinite loop when working out the order of depencies.

Example:
 Files 1, 2 and 3 are enqueued. File 1 is a dependency of 2, which is a
dependency of 3. If only scripts 1 and 3 are minified and concatenated into 1 file,
it will fail. This is because the processed file is now a dependency of file 2, 
but file 2 is also a dependency of it.

Solution:
 You must either process all files together, or process 1 and 3 in separately.

## Avis

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

### 󠀁[Two years without updates = Dead Software](https://wordpress.org/support/topic/two-years-without-updates-dead-software/)󠁿

 [](https://profiles.wordpress.org/jameskatt/) 25 novembre 2016

This software is dead and dangerous if you use it since it has not kept up with 
WordPress.

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

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-1086/)󠁿

 [Patrick Boehner](https://profiles.wordpress.org/patrick-b/) 3 septembre 2016 2
réponses

Works as expected and works well. For those whose themes aren’t properly concatenating
and minifying scripts and stylesheets or with several plugins then this one if fantastic.

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

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

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

Contributeurs

 *   [ Matthew Haines-Young ](https://profiles.wordpress.org/mattheu/)

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

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

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

## Journal des modifications

#### 1.1.1

 * Fix scripts loaded in the footer that are localized.

#### 1.1

 * Don’t make remote requests to the minifier.
 * Works behind htaccess.
 * Handle scripts enqueued after header scripts outputted.
 * CSS files enqueued with media argument set to false should be treated proccessed
   alongside ‘all’

## Méta

 *  Version **1.1.2**
 *  Dernière mise à jour **il y a 13 ans**
 *  Installations actives **200+**
 *  Version de WordPress ** 3.4 ou plus **
 *  Testé jusqu’à **3.5.2**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/minqueue/)
 * Étiquettes
 * [concatenate](https://fr.wordpress.org/plugins/tags/concatenate/)[minify](https://fr.wordpress.org/plugins/tags/minify/)
   [script](https://fr.wordpress.org/plugins/tags/script/)[style](https://fr.wordpress.org/plugins/tags/style/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/minqueue/advanced/)

## Évaluations

 4.5 sur 5 étoiles.

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

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

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

## Contributeurs

 *   [ Matthew Haines-Young ](https://profiles.wordpress.org/mattheu/)

## Support

Quelque chose à dire ? Besoin d’aide ?

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