HTML and CSS Reference
In-Depth Information
From a development-process viewpoint, developers define a handful of specific, explicitly supported resolutions.
These may be for a set of trusted devices or a set of resolutions with which the content looks good and doesn't need
modification, as illustrated in Figure 13-6 . Clients can push their resolutions/dimensions to the server before fetching
their image data, allowing clients to get closer to a perfect representation.
Figure 13-6. Effect of design and development on supported devices
Working with a Cloud Computing Resource
Those who are truly daring can go one step further with the help of a cloud computing resource. Rather than
simply quantizing resolutions to one of the predefined sets (and coupling the client with one of the adaptive canvas
solutions), a cloud computing resource can compute the exact size of the image that you want and return that to the
client. These pixel-specific resolution images can then be cached on the server and supplied on-demand to the client
as he or she loads your site.
In cases in which a user requests a size that has not yet been computed for the particular resolution, the server
can return one of the quantized images and then kick off a cloud computing resource to perform the conversion and
cache the result. This allows the second and third users to get the more accurate cached version, while being flexible
enough to not crash the first user. Figure 13-7 illustrates the effect of design and development on supported devices
when using cloud-computing resources.
Search WWH ::

Custom Search