Title: APH Merge Scripts
Author: Agus Prawoto Hadi
Published: <strong>13 de juliol de 2016</strong>
Last modified: 4 de setembre de 2016

---

Cerca extensions

![](https://ps.w.org/aph-merge-scripts/assets/banner-772x250.png?rev=1463267)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/aph-merge-scripts/assets/icon-128x128.png?rev=1463254)

# APH Merge Scripts

 Per [Agus Prawoto Hadi](https://profiles.wordpress.org/agusph/)

[Baixa](https://downloads.wordpress.org/plugin/aph-merge-scripts.1.3.1.zip)

 * [Detalls](https://ca.wordpress.org/plugins/aph-merge-scripts/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/aph-merge-scripts/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/aph-merge-scripts/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/aph-merge-scripts/#developers)

 [Suport](https://wordpress.org/support/plugin/aph-merge-scripts/)

## Descripció

Combining and minifying javascript dan stylesheet files can improve the speed the
website as it will reduce the number of HTTP Request and reduce the size of the 
downloaded file.

This plugin helps you to do all of that. It will automatically detect and combine
javascript and CSS files loaded by a page, into a single file javascript and CSS.

** Features. **

 * Easy to use.
 * Merge all CSS and Javascript files into one file – Automatically detect scripts
   and styles that are required on a page, and then combine them into one file.
 * There is a tool in the admin bar that makes it easy to add / manage scripts loaded
   by a page.
 * Support localized script.
 * Support remote scripts (Javascript and CSS files hosted on CDN). Built-in parallel
   download for optimum download time.
 * Support YUI Compressor. We don’t use closure compiler as it is not 100% safe.
   [read here](http://webdevcorner.com/compress-javascript-file-using-closure-compiler/#compress-file)
 * CSS & Script files URL cleaned from query string, leverage browser cache.
 * Easy to view and manage merged files.
 * There is an option to put merged script to the header or footer
 * Automatically unload CSS and Javascript files that are not found

### How To Use

While loading a page, the plugin will automatically detect the scripts and styles
used on the page using WP enqueue system.

However, in certain circumstances, there are scripts and styles that are not detected
automatically, such as akismet-form that usually comes late in the wp_footer

To check that kind of scripts, first, enable “Show Manage Scripts Menu on the Admin
Bar” option in the plugin settings page. This option will add a menu to the admin-
bar menu. This menu will appear when you open any page except for the admin page.
Now, through that menu, you can choose scripts you want to merge or exclude easily.

## Captures

 * [[
 * Admin Settings
 * [[
 * Manage scripts loaded in a page through admin bar

## Instal·lació

Install & activate the plugin. Modify some options in the settings page to suits
your need.

## Ressenyes

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

### 󠀁[Super !!!](https://wordpress.org/support/topic/super-1380/)󠁿

 [solgaz](https://profiles.wordpress.org/solgaz/) 6 de març de 2019

Super !!!

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

### 󠀁[Not work on all pages](https://wordpress.org/support/topic/not-work-on-all-pages/)󠁿

 [M Usman](https://profiles.wordpress.org/hafizusman/) 10 de maig de 2018

Your plugin is good, but it is not working on all pages. It store css and javascript
of first page. on others pages there more some css which is not loaded.

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

### 󠀁[Único que funcionou com https](https://wordpress.org/support/topic/unico-que-funcionou-com-https/)󠁿

 [jeankassio](https://profiles.wordpress.org/jeankassio/) 19 de desembre de 2016

Fiquei instalando vários para tentar um compatível com https, esse foi o único que
realmente funcionou, e além de tudo é ótimo 🙂

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

### 󠀁[Simple and Good](https://wordpress.org/support/topic/simple-and-good-63/)󠁿

 [John](https://profiles.wordpress.org/dpinc/) 3 de setembre de 2016

The safer script minify compare to others without breaking site and also have a 
flexibility to select any needed. Thanks

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

### 󠀁[Really Awesome Plugin just be careful](https://wordpress.org/support/topic/really-awesome-plugin-just-be-careful/)󠁿

 [brendancopley](https://profiles.wordpress.org/brendancopley/) 3 de setembre de
2016 1 resposta

Let me just say that all the other plugins out there to minify JS & CSS either break
my site or don’t work at all. With this plugin I can customize which javascript 
files I want to minify and combine and which I can leave out. Now when you go through
the settings be sure to check Show Manage Scripts Menu on the Admin Bar as it’s 
essential to make sure this plugin works with your theme. By process of elimination
you can make sure your theme is intact and the great thing about this plugin is 
that it does not overwrite any of your javascript or theme files. So with a simple
check box you can revert everything as it was. Now my only complaint with this plugin
is that still has Query Strings that won’t allow my static content to cache. Also
I would appreciate in the future some support with using a CDN like Amazon Cloudfront
or WP Engine or MaxCDN.

 [ Llegiu totes les 5 ressenyes ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/)

## Col·laboradors i desenvolupadors

«APH Merge Scripts» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

 *   [ Agus Prawoto Hadi ](https://profiles.wordpress.org/agusph/)

[Traduïu «APH Merge Scripts» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/aph-merge-scripts)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/aph-merge-scripts/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/aph-merge-scripts/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/aph-merge-scripts/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/aph-merge-scripts/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.3.1 – September 4, 2016

 * Fix chahe check issue

#### 1.3 – September 1, 2016

 * Add support to remote scripts (Javascript and CSS files hosted on other servers
   or CDN)
 * Add option to manage remote files
 * Add option to 404 page
 * Fix some issues
 * Minor performance improvements

#### 1.2 – August 21, 2016

 * Remove “File name & location” option, as now, we use predefined file name + hash
   to force user to download the latest merged file
 * Disable creating merged file on 404 HTTP Response, as it caused some problems
   when WordPress load non-existing CSS or js files
 * Use JShring as default Javascript Minifier, as it safer than the current one.
 * Fix issues on “APH Show Scripts” Menu on Admin Bar
 * Add “Show Handles” link to show handles of merged files
 * Fix other issues

#### 1.1 – July 31, 2016

 * Add support to YUI Compressor
 * Remove query string from CSS and javascript’s file URL
 * Fix some issues
 * Add uninstall file
 * Rewrite source code to meet WordPress coding standard
 * Change admin options interface

#### 1.0

Initial Public Release

## Meta

 *  Versió **1.3.1**
 *  Darrera actualització **fa 10 anys**
 *  Instal·lacions actives **30+**
 *  Versió del WordPress ** 3.5 o posterior **
 *  Provada fins a **4.7.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/aph-merge-scripts/)
 * Etiqueta
 * [minify](https://ca.wordpress.org/plugins/tags/minify/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/aph-merge-scripts/advanced/)

## Valoracions

 4.4 sobre 5 estrelles.

 *  [  3 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/?filter=5)
 *  [  1 valoració de 4 estrelles     ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/?filter=4)
 *  [  1 valoració de 3 estrelles     ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/)

## Col·laboradors

 *   [ Agus Prawoto Hadi ](https://profiles.wordpress.org/agusph/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/aph-merge-scripts/)