It can now serves minified and compressed css files.
For your extension, if you want your css and js files to be served compressed, you just need to add the compressed version in the same folder. eg:MyExtension/myextension.css
MyExtension/myextension.js
MyExtension/myextension.css.gz
MyExtension/myextension.js.gz
To compress your css or js files, you should use something like YUI compressor to minify your files and then gunzip or an other zip program to create the gzip file.
Require Vanilla 1.1.3.rc1: The packed js and css files are from 1.1.3.rc1. If you want to use it with other version of vanilla you have to minify and compress them yourself.
Require Vanilla 1.1.3.rc1: The packed js and css files are from 1.1.3.rc1. If you want to use it with other version of vanilla you have to minify and compress them yourself.
I've been testing this add-on and so far it's way much better than "Vanilla Packer", are you still going to include a packer for the css and js files in 0.4.0?
Version 0.3.3 fix the bug mentioned in the 2 previous comments.
@sjeeps: the packer will work like Vanilla Packer except that it won't use the scripts added with $Head->Addscript or the style sheets added with $Head->AddstyleSheet. Instead, extension developer with have to add the script to the Head::Scripts or to the list file the packer with serve. Also it won't minify them I leave that to the extension authors.
I disagree with you Vaz , it's more simplified than the first release since now you can have all the 4 core js files packed in only one and it would be even better if all js and css packed in one single or two files.
Nothing, something - the part that check that prototype is loaded -was missing from the scriptaculous package.
But I have a problem now with gunzip version of prototype. It seem corrupted. To fix it you just need to delete prototype.js.gz - it will serve the non-compressed one. You can compress it yourself if you want to serve it compressed.
The problem comes from the way It load the gz files.
Comments
For your extension, if you want your css and js files to be served compressed, you just need to add the compressed version in the same folder. eg:
MyExtension/myextension.css MyExtension/myextension.js MyExtension/myextension.css.gz MyExtension/myextension.js.gz
To compress your css or js files, you should use something like YUI compressor to minify your files and then gunzip or an other zip program to create the gzip file.
Require Vanilla 1.1.3.rc1:
The packed js and css files are from 1.1.3.rc1. If you want to use it with other version of vanilla you have to minify and compress them yourself.
Require Vanilla 1.1.3.rc1:
The packed js and css files are from 1.1.3.rc1. If you want to use it with other version of vanilla you have to minify and compress them yourself.
Version: ${TODAY}
To:
Version: 0.3.2
Notice: Undefined offset: 1 in C:\AppServ\www\Vanilla113rc1\themes\head.php on line 26
Notice: Undefined offset: 2 in C:\AppServ\www\Vanilla113rc1\themes\head.php on line 26
And looking at the page source:
<script type="text/javascript" src="/Vanilla113rc1/extensions/LowCalVanilla/ compressor.php?uri=extensions/LowCalVanilla/js/vanilla-packed.js"></script> <script type="text/javascript" src=""></script> <script type="text/javascript" src=""></script>
*Edit:
Same error in comments and post page too.
Notice: Undefined offset: 1 in /home/content/forum/themes/head.php on line 26
Notice: Undefined offset: 2 in /home/content/forum/themes/head.php on line 26
Notice: Undefined offset: 3 in /home/content/forum/themes/head.php on line 26
And this is throughout the site - after uploading.
@sjeeps: the packer will work like Vanilla Packer except that it won't use the scripts added with $Head->Addscript or the style sheets added with $Head->AddstyleSheet.
Instead, extension developer with have to add the script to the Head::Scripts or to the list file the packer with serve. Also it won't minify them I leave that to the extension authors.
Now, what's new in 0.3.3 or 0.3.4?
But I have a problem now with gunzip version of prototype.
It seem corrupted. To fix it you just need to delete prototype.js.gz - it will serve the non-compressed one.You can compress it yourself if you want to serve it compressed.The problem comes from the way It load the gz files.
I see bug.
Use Low-Cal del email from profile page.
See this.
Bug compressed Java script?
The account page is the page that won't work on Vanilla 1.1.2 with the js files from 1.1.3.