The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Client-side Script

Hi Joel,

Couldn't help noticing there are dozens of lines of javascript code in each of the forum pages.

This must be eating your bandwidth (and ours), so have you considered putting it in a separate file and linking to it ?

Or, is there some reason why you don't do that ?

Nemesis
Nemesis
Monday, October 25, 2004
 
 
The page would weight 22K, instead of more than 50K. If you configure the Cache-Control: max-age=31536000 HTTP header for the scripts...
Gustavo Muñoz
Monday, October 25, 2004
 
 
Optimization is the LAST thing that you're supposed to do.
KC Send private email
Monday, October 25, 2004
 
 
KC - "Optimization is the LAST thing that you're supposed to do."

I agree, but I thought this was best practice. OTOH, judging by the comments in the other forum, it may not be a wise best practise.
Nemesis
Monday, October 25, 2004
 
 
It is planned.
Joel Spolsky Send private email
Monday, October 25, 2004
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz