Serving Up Web Resources

Only available on StudyMode
  • Topic: World Wide Web, Hypertext Transfer Protocol, Uniform Resource Identifier
  • Pages : 2 (548 words )
  • Download(s) : 77
  • Published : March 4, 2013
Open Document
Text Preview
Serving up web resources
With Windows Azure CDN you must pass the QueryString parameter containing a compressible filename type (.js, .cs etc) or you are requesting a file by its original name (jquery.js, site.css, etc.) otherwise Accept-Encoding HTTP header will not be passed. 

For example when using an AXD resource handler (WebResource.axd, etc.) only, the HTTP compression will not be performed because unless append a QueryString parameter with a .cs or .js extension. If you are using custom AXD resource handler, then you can just applied &group=core.js and &group=core.css in your combined minified resources and the compression worked as expected. Original URI:

* https://_your_azure_CDN_endpoint_.vo.msecnd.net/resourceManager.axd?token=HL80vX5hf3lIAAA Modify as:
* https:// _your_azure_CDN_endpoint_.vo.msecnd.net/resourceManager.axd?token=HL80vX5hf3lIAAA&group=core.js

Once the Azure CDN verify that it has.js in the querystring, it will return the compressed version of the resource.

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems.[1] HTTP is the foundation of data communication for the World Wide Web. Hypertext is a multi-linear set of objects, building a network by using logical links (the so-called hyperlinks) between the nodes (e.g. text or words). HTTP is the protocol to exchange or transfer hypertext. HTTP functions as a request-response protocol in the client-server computing model. A web browser, for example, may be the client and an application running on a computer hosting a web site may be the server. The client submits an HTTP request message to the server. The server, which providesresources such as HTML files and other content, or performs other functions on behalf of the client, returns a response message to the client. The response contains completion status information about the request and may also contain requested content in its...
tracking img