Welcome Guest, Not a member yet? Register   Sign In
A quick & ugly way to join multiple css or js file.
#6

[eluser]WeeJames[/eluser]
I have a similar controller called 'AssetManager' in my CMS which handles much the same thing. I'd recommend updating your controller so that it out puts the correct mime types for whats being returned.

The advantage of having them combined into a single file it reduces the number of HTTP requests your web client has to do. In addition i use it to run some regexs on the js and css which allows me to insert data into them dynamically should i need to.


Messages In This Thread
A quick & ugly way to join multiple css or js file. - by El Forum - 11-02-2007, 03:00 AM
A quick & ugly way to join multiple css or js file. - by El Forum - 11-02-2007, 03:06 AM
A quick & ugly way to join multiple css or js file. - by El Forum - 11-02-2007, 03:26 AM
A quick & ugly way to join multiple css or js file. - by El Forum - 11-02-2007, 04:27 AM
A quick & ugly way to join multiple css or js file. - by El Forum - 11-02-2007, 04:48 AM
A quick & ugly way to join multiple css or js file. - by El Forum - 11-04-2007, 01:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB