Re: [Specifications] External operations

> @asbjornu can you provide an example of operation that you might want to reference from multiple resources to 'increase cache hits`? Operations tend to stay very small so IRI vs. the whole operation inline doesn't seem to make much difference.

Not sure if it will increase cache hits, but being able to dereference operations allows you to have different caching policies from your main resource/document and this is very important, I think, because not all API parts have the same volatility. Also, the IRIs are much smaller from operation details in the general case, but especially in some extreme cases that you want to specify a bunch of operations along with supported types etc. Providing such capabilities are vital for having a _good_ spec that adapts to the API designer's needs.

-- 
GitHub Notification of comment by vasilakisfil
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/146#issuecomment-342322111 using your GitHub account

Received on Monday, 6 November 2017 23:23:34 UTC