Re: Prefetching VS HATEOAS

Shea Levy <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
On 04/17/2013 03:20 PM, Nathan Sharfi wrote:
> On Apr 17, 2013, at 12:13 PM, Shea Levy <[email protected]> wrote:
>
>> Hi all,
>>
>> Often when designing REST interfaces for relational resources, I run
>> into a tension between the efficiency of prefetching a related resource
>> when one is requested on the one hand and the simplicity, elegance, and
>> generality of referencing related resources via hypermedia. Does anyone
>> have any advice on how best to manage that tension?
>>
>> Thanks,
>> Shea Levy
> The two don't seem to be in conflict with each other; Firefox has supported <link rel='prefetch' href='…'> for quite a while now. Do you have a different use in mind?
I hadn't heard of that, thanks! Though it does still require an extra 
HTTP request, so in high-volume performance-critical stuff it might lose 
out to a completely server-side prefetch.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rest-discuss/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rest-discuss/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.