Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
Meta - Forums About Forums
Meta
ENWorld Performance Optimization Thoughts
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mxyzplk" data-source="post: 4336702" data-attributes="member: 16450"><p>Hi! Like the new ENWorld look. I noticed it was loading a little slow (takes like 12 seconds for the front page) and poked around a little for why. (Firefox + Firebug + YSlow are your friends.)</p><p></p><p>The biggest problem is the 28 separate JavaScript files, they each block parallel downloads and take a lot of time. You should combine them into one or at least a smaller number and move them to the bottom of the HTML. Also, you're loading the same scripts multiple times (builder.js, effects.js, dragdrop.js, controls.js) which is redundant. Combine, move to the bottom, and minify them using JSMin or similar. Or YUI, which I see you're using; it has a minifier too. The total page weight is like 800k but your images are very well reduced; more than half of the weight is the JavaScript. Actually I can't imagine all that JS is really being used either; remove anything that's not actively executed (</p><p></p><p>You should consider using the Apache2 modules to 1) add Expires headers to allow at least 24 hour caching of the images, JS, and CSS (mod_expires) and 2) activate gzip delivery (mod_deflate). Those will also mitigate the issue.</p><p></p><p>If you do these things I'd estimate at least a 50% performance improvement, perhaps more.</p></blockquote><p></p>
[QUOTE="mxyzplk, post: 4336702, member: 16450"] Hi! Like the new ENWorld look. I noticed it was loading a little slow (takes like 12 seconds for the front page) and poked around a little for why. (Firefox + Firebug + YSlow are your friends.) The biggest problem is the 28 separate JavaScript files, they each block parallel downloads and take a lot of time. You should combine them into one or at least a smaller number and move them to the bottom of the HTML. Also, you're loading the same scripts multiple times (builder.js, effects.js, dragdrop.js, controls.js) which is redundant. Combine, move to the bottom, and minify them using JSMin or similar. Or YUI, which I see you're using; it has a minifier too. The total page weight is like 800k but your images are very well reduced; more than half of the weight is the JavaScript. Actually I can't imagine all that JS is really being used either; remove anything that's not actively executed ( You should consider using the Apache2 modules to 1) add Expires headers to allow at least 24 hour caching of the images, JS, and CSS (mod_expires) and 2) activate gzip delivery (mod_deflate). Those will also mitigate the issue. If you do these things I'd estimate at least a 50% performance improvement, perhaps more. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
Meta - Forums About Forums
Meta
ENWorld Performance Optimization Thoughts
Top