polyrythmic,
i checked with my server provider and it looks like i was running
php4, so i changed that and got it to finally work. Although it only
shaved off minimal time loading my page. I dont have that many js and
css files so it might not be for me.
I think i just need to gzip the js files
What version of PHP is your server running? Minify is PHP5 by
default, there's a PHP4 version available here:
http://www.vulgarisoip.com/2007/06/21/minify-your-external-javascript-and-css-with-php/
Otherwise it appears you're doing everything correctly. If you turn
on PHP error_reporting ( http
thanks for the help charles. I can't for the life of me get the minify
working. I've got some screenshots up of my folder structure and the
code i'm using here - http://www.vocle.com/pic.html
i've gone over and over the user guide trying every way of getting it
working but i can't get my css and
Hi Ben, no problem.
On Feb 14, 2:39 pm, ben <[EMAIL PROTECTED]> wrote:
> Am i supposed to have more the
> just the minify.php file in my root folder?
Yes, you need the 'lib' directory with JSMin.php. See:
http://code.google.com/p/minify/wiki/UserGuide
> I'm not familiar with the output buffer
thanks for the reply's!
I've taken the advise and tried to implement the minify method but
having some difficulty. I've downloaded and extracted the minify.php
file to my root folder and then called for the files the way the usage
guide explains. But it doesn't work. Am i supposed to have more th
Packing is probably not the fastest method, unless you're in a low-
bandwidth situation, due to the overhead of decoding the packed script
after download. I would recommend Minifying your JS -- the most well
known is probably JSMin (http://javascript.crockford.com/jsmin.html)
but there's a number
One option is to use Dean Edward's "packer" tool:
http://dean.edwards.name/packer/
If your packed file(s) don't work, you may need to run it through
JSLint (http://dean.edwards.name/packer/) and fix it up before packing
(having proper ending semicolons is a big thing to look out for)
7 matches
Mail list logo