Wow how could I miss that?! Thanks alot for enlightening me Aaron.
So I think that just about solves my problem. Combining [1] and [2],
I'll be able to have my javascript in seperate files for development
reasons and still be able to feed users a packed, compressed single
file that updates everyti
On 2/14/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote:
On a side note, http://www.ejeliot.com/blog/73 uses JSMin to compress
the files, I've used dean edwards online packer [1] before, and really
like the results it gives me (havn't tried it yet with JQuery). Does
anyone know of a PHP pack
Klaus, yeah I was afraid of that. So calling lots of 1-5kb js files is
a big no-no.
Kenneth, thx alot for that, that solution lets me have my development
files and easily compress them to one cached js file whenever a file
changes. Excelent!
On a side note, http://www.ejeliot.com/blog/73 uses JS
Here's what I do to easily bulk load all my scripts whilst still keeping
everything in separate files:
And in scripts.php -
Then I can easily add/remove scripts in the php file and as far as the
browser sees, it downloads them all as one file! Also unlike other
server-side solutions to this
p.s. I forgot this article, which could be combined with the technique
listed in my previous response:
http://www.ejeliot.com/blog/73
and the previous, related article:
http://www.ejeliot.com/blog/72
It is a similar technique, yet it also utilizes Douglas Crawford's JSMin to
compress the JS, a
Here's an article that I've been meaning to post to the list anyways, but I
guess this is a great opportunity to do so.
http://www.hunlock.com/blogs/Supercharged_Javascript
It is a somewhat advanced article, and the example uses htaccess+PHP, but
you could use pretty much any server language. It
Brandon Aaron schrieb:
> I would highly recommend merging as much as you can into one file.
> Each additional request could tack on a couple 100 milliseconds. The
> best thing you can do though is to get the latest firebug console
> (www.getfirebug.com) and use the 'Net' tab to compare both methods
I would highly recommend merging as much as you can into one file.
Each additional request could tack on a couple 100 milliseconds. The
best thing you can do though is to get the latest firebug console
(www.getfirebug.com) and use the 'Net' tab to compare both methods and
see which is better for yo
Hi there.
I'm working on a site that will be using alot of ajax for
edit-in-place, aswell as alot of other javascript. The thing is that
there is practicly no javascript for regular users, compared to
administrators. So I figured that in the top of my indexfile where all
the scripts are I'd do som