Quantcast
Channel: Web Scaling Blog » Performance
Browsing all 8 articles
Browse latest View live

Optimized Version of Rails MySQL Session Store is Available

The Problem Original ActiveRecord sessions store is slow. It is fine for some low traffic sites, but it is too slow to use it for something larger. First of all, it is slow because ActiveRecord itself...

View Article



GZIP Compression and Javascript Minification

Compressing content on server before sending it over HTTP is a good practice since it saves a lot of traffic and makes transfers faster. For example, Prototype.js is 123KB size and after Gzip...

View Article

Caching HTTP Headers, Cache-Control: max-age

Caching speeds up repeated page views and saves a lot of traffic by preventing downloading of unchanged content every page view. We can use Cache-Control: max-age=… to inform browser that the component...

View Article

Using CSS Image Sprites

Even fast connections suffer from multiple HTTP request overhead because of network latency and HTTP request processing overhead. MSIE7 opens no more than 2 connections per domain, Firefox3 – 4-6...

View Article

Caching HTTP Headers, Last-Modified and ETag

What if we cannot predict lifetime of page content? If we have a page with info that changes unpredictably we still can use browser cache to avoid unneeded traffic. Using validation mechanism browser...

View Article


Stylesheet Composition

Browsers cannot start rendering till all Stylesheets loaded. Visitors see blank page (or previous page) during loading of CSS so it’s especially important to load these components faster. If you have...

View Article

Image may be NSFW.
Clik here to view.

Website Speed Optimization and Waterfall Diagram

Waterfall diagram is useful to find out how browser spending time loading page components. There is a an opensource tool built for IE called AOL Pagetest. It has online version where we can check sites...

View Article

Automated Data:URI CSS Sprites

Recently I found another interesting service: DURIS (Data URI Sprites). This is an automated solution for building Data:URI CSS Sprites for background images. Basically you provide a page URL, then the...

View Article

Browsing all 8 articles
Browse latest View live


Latest Images