12.6. Server Push versus Client Pull
Prefetched data can be pushed by servers onto clients or pulled by clients from servers. With server push, servers send prefetched data to clients without client requests for this data. Client pull is implemented by clients sending requests for prefetched data to servers before the data is actually demanded by the users. Clients use the same HTTP requests to pull prefetched data as they would use to obtain the data when it is actually demanded by users.
One method to implement server push is to return prefetched objects to the client in response to a single HTTP GET request issued by the client. This method reduces the number of requests to the server compared to the case without prefetching, because some ...
Get Web Caching and Replication now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.