Two new Pebble
functions are now provided to easily bundle your Javascript files together and your CSS files together,
directly from an HTML template.
The jsBundle(...) function allows you to concatenate and optimize multiple .js files. The result can then be served as a single bundle that is quick to download for the client. This Pebble function is provided by the Spincast JS Closure Compiler plugin.
The cssBundle(...) is similar but target your .css files. It is provided by the Spincast CSS YUI Compressor plugin.
A few days ago, we released a plugin to minify your CSS
. We now release
Spincast JS Closure Compiler, a plugin made to
optimize your Javascript
!
As its name implies, this new plugin makes use of the well-supported Closure Compiler library, from Google.
All official flags and options are supported and easy to specify.
A new plugin, Spincast CSS YUI Compressor,
integrates YUI Compressor so you can easily
minify/compress your CSS
.
What else can we say? It is simple and it works!
A new plugin, Spincast CSS Autoprefixer,
integrates Autoprefixer to easily
add vendor prefixes to your CSS
.
The plugin allows you to serve CSS
that has been tweaked so browsers support is enhanced.
For example, you may use this plugin to be able to use CSS Grids
with good support for IE11!
Also, some methods of the Spincast Process Utils plugin
have been refactored to be more generic. If you are currently using the
executeJar(...)
method, please
upgrade to one of the new executeAsync(...)
or executeSync(...)
methods! Those are more generic and provide way more control over the executed programs.
Read more about those new methods in the plugin's documentation.
The HTTP/2 protocol is now officially supported by Spincast.
You can read more about this topic in the dedicated HTTP/2 section of the documentation.
Spincast supports HTTP/2
and Server Push in
two ways:
Have a look at the Github commits page.
You can follow us on Twitter.