Created
June 14, 2012 22:17
-
-
Save micmath/2933306 to your computer and use it in GitHub Desktop.
Case for separate module URLs:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traffic analysis of your site shows that most visitors | |
require module A (big, almost never changes) and only | |
a few visitors require module B (small, changes often). | |
Keep those modules at separate URLs and everyone will | |
only download module A rarely. On subsequent pages/visits | |
that data will come straight from user-agent's cache. | |
Combine them into a single URL and everyone will have | |
to download modules A+B every single time module B | |
changes, even though most visitors never even use B. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment