Bird
0
0

A REST API uses caching to improve performance. Which REST constraint does caching primarily support?

medium📝 Predict Output Q5 of 15
Rest API - REST API Fundamentals
A REST API uses caching to improve performance. Which REST constraint does caching primarily support?
AStatelessness
BUniform interface
CLayered system
DCacheable responses
Step-by-Step Solution
Solution:
  1. Step 1: Identify caching role in REST

    Caching allows responses to be stored and reused, improving efficiency.
  2. Step 2: Match caching to REST constraint

    Cacheable responses is the REST constraint that supports this.
  3. Final Answer:

    Cacheable responses -> Option D
  4. Quick Check:

    Caching = Cacheable responses constraint [OK]
Quick Trick: Caching is about cacheable responses constraint [OK]
Common Mistakes:
MISTAKES
  • Confusing caching with statelessness
  • Thinking caching relates to layered system
  • Assuming caching changes uniform interface

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes