background preloader

Computer Science

Facebook Twitter

CSS-Tricks. jQuery UI MultiSelect Widget by Eric Hynds. Microsoft .Net Development information, news and tips - SearchWinDevelopment.com. ORM Comparison and Benchmarks on ORMBattle.NET. Cache Control Directives Demystified : Palisade. July 2008 by Siddharth Anbalahan | Discuss this article »» (2) Many years ago, HTTP 1.1 introduced specialized Cache Control directives to control the behavior of browser caches and proxy caches.

Cache Control Directives Demystified : Palisade

These were a refinement over the HTTP 1.0 headers that programmers were using to control the behavior of caches. Though these directives are several years old, we still see them being used incorrectly. Pragma: No-cache This is a HTTP 1.0 directive that was retained in HTTP 1.1 for backward compatibility. Notice that “pragma: no-cache” is linked to requests, and not responses. For all practical purposes, you can ignore this directive today. Expires header This is yet another HTTP 1.0 directive that was retained for backward compatibility. In earlier days, developers played a nifty trick with this directive to ensure that a page expires immediately and is not served from the cache: they would set the expiration date to a day in the distant past.

Using CDNs and Expires to Improve Web Site Performance - Ricka on MVC and related Web Technologies. Much has been written on the advantages of using a Content Delivery Network (CDN) to deliver static content ( jQuery, images, CSS files, etc.).

Using CDNs and Expires to Improve Web Site Performance - Ricka on MVC and related Web Technologies

(If you’re not familiar with CDNs, read ScottGu’s blog post Announcing the Microsoft AJAX CDN and Microsoft Ajax Content Delivery Network ) But the biggest advantages of CDNs are often overlooked: Many major sites use the Microsoft CDN, so there’s a good chance your customers browsers cache already contains jQuery from the CDN. If another site has loaded your jQuery version from the Microsoft CDN, and your web site requests that version from the Microsoft CDN, the client cache can satisfy the request, eliminating the download cost. Once content is loaded from the CDN, future requests don’t incur the round trip cost of checking with the server if the content is current.

That is, the client avoids the HTTP 304. I’ll use the Fiddler tool and my MVC Movie sample to demonstrate the advantages of using a CDN. Quick review of browser caching Good Links. HTTP/1.1: Header Field Definitions. This section defines the syntax and semantics of all standard HTTP/1.1 header fields.

HTTP/1.1: Header Field Definitions

For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who receives the entity. 14.1 Accept The Accept request-header field can be used to specify certain media types which are acceptable for the response. Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of a request for an in-line image. Accept = "Accept" ":" #( media-range [ accept-params ] ) Best Practices for Speeding Up Your Web Site. The Exceptional Performance team has identified a number of best practices for making web pages fast.

Best Practices for Speeding Up Your Web Site

The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet.

CSS Sprites are the preferred method for reducing the number of image requests. Image maps combine multiple images into a single image. Inline images use the data: URL scheme to embed the image data in the actual page. Reducing the number of HTTP requests in your page is the place to start. Top | discuss this rule Use a Content Delivery Network tag: server tag: css. Robert Walters - Salary Survey 2012. Word 2007: Page numbers starting from a specific page. TRANSLATOR, BINARY. March « 2012 « Harish's Insight. Teaching-WIKI. Depth first search (DFS) & Breadth First Search (BFS) Algorithms.

Development