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 (
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
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)
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
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
6 matches
Mail list logo