Skip to content

WordPress plugin to perform CSS and Javascript concatenation of individual script files into one resource request.

License

Notifications You must be signed in to change notification settings

isabella232/nginx-http-concat

 
 

Repository files navigation

nginx-http-concat

Overview

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 heroku-fcgi;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root/content/mu-plugins/nginx-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.

About

WordPress plugin to perform CSS and Javascript concatenation of individual script files into one resource request.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.8%
  • Shell 5.2%