One of the things I've done in the past, especially for coding and ease of finding the information, I like to break up my css into separate files, into smaller more manageable files. Generally each class (php class) or section of the page is broken up into these files. I've also done a similar thing with my javascript files. However, one thing I've learnt lately is that loading 20 different files into the home page rather than 1 css file and 1 js file, causes a HUGE difference in load times.
Even white space in my code can cause a difference of seconds in loading a page. It starts to make sense why code that I download from the net is in one or two lines with very few spaces ;)
Wednesday, June 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment