WordPress plugin to perform CSS and Javascript concatenation of individual script files into one resource request.
Clone or download
mjangda Merge pull request #40 from Automattic/fix/issue-39_missing_localized…

Fix for issue #39 - Print extra JS data when handling a group with no src attribute.
Latest commit 10025c4 Aug 7, 2018
Failed to load latest commit information.
bin Add scaffolded test framework Feb 11, 2017
cssmin Update to CSSMin 4.1.0 May 24, 2017
tests Remove commented out code left there from development May 15, 2017
.travis.yml Nerf the PHPCS checks for good Mar 2, 2017
LICENSE Initial commit Apr 18, 2014
README.md Fix markdown in the readme Jul 7, 2017
composer.json Added composer.json Jun 12, 2015
concat-utils.php Enhancing the regular expression used for replacing relative paths to… May 15, 2017
cssconcat.php Simplify realpath to fix subdirectory installs Mar 3, 2017
ngx-http-concat.php Send "400 Bad Request" instead of just dying. Jul 6, 2017
phpunit.xml.dist Add scaffolded test framework Feb 11, 2017




WP.com plugin to perform CSS and Javascript concatenation of individual scripts into a single script.

Installation & Configuration

  1. Copy the ‘http-concat’ directory and its contents to your WordPress plugins directory.

  2. Configure the NGINX server to perform the concatenation step in the process by adding the following to your WordPress installations NGINX configuration:

    location /_static/ {
        fastcgi_pass unix:/var/run/fastcgi.sock;
        include /etc/nginx/fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/wp-content/plugins/http-concat/ngx-http-concat.php;
  1. Once this is done the installation is ready for use and you can enable/disable the JS and/or CSS concatenation via the plugins interface of your WordPress installation.