|
|
|
|
|
by Nathan2055
1095 days ago
|
|
Pretty much a week after starting any web development job, you discover that 95% of making a site fast is simply reducing the number of times it has to call the database. Typically, this means caching everything as much as you possibly can. This is the same reason why Wikipedia can’t just roll out a cookie-based “revert to old look” option for logged out users. It would require caching every page twice since you’d need a file prepared for both skins. The reason they can have skins for logged in users is because they already bypass the cache for logged in users (to allow for individual user scripts and stylesheets to be run, among other things). Even then, things like article text and category lists are still stored in various database caches, hence why there’s a “Purge cache” option available to logged in users. |
|