Skip to content
TORNLIFE More

Initial Review Optimize your Javascript and CSS...

Started by AeroKnight [12070] on in Suggestions.

1 replies · 39 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 2 / 2 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
2
Discussion span
→
People posting
2
Likes on archived posts
3
Authority score
24 / 100
Historical score
26 / 100
Story score
40 / 100
Engagement score
34 / 100
AeroKnight [12070]

Simple thing here... Get FireFox and run Firebug & YSlow... (Other browsers support this also...)
I realize optimizing is every developers last thought especially with the need to release a product so this should not come as a surprise...

YSlow gives Torn a (D) 62...
31 External JavaScript scripts.
19 External Stylesheets
56 External Background images (This may be higher depending on the page...)

Your CDN is not checking out to be a "true" CDN... (This may just be a flaw with YSlow. I don't use CDN's but can get to a Low A/ High B)
Add compression (gzip) to your configs.
Add Expire headers....

These are all pretty easy fixes, but should be tremendous in speeding things up with the amount of traffic this game experiences. It will also help you in reducing some of your server loads overall.

I would do this first over anything else as this could reduce a lot of issues overall that might incur over the next week.