Bird
0
0

Why might a server choose to use weak ETags instead of strong ETags in validation-based caching?

hard📝 Conceptual Q10 of 15
Rest API - Caching Strategies
Why might a server choose to use weak ETags instead of strong ETags in validation-based caching?
ATo disable caching entirely
BBecause weak ETags are more secure
CBecause weak ETags are required by HTTP/2
DTo allow minor changes without forcing cache refresh
Step-by-Step Solution
Solution:
  1. Step 1: Understand difference between weak and strong ETags

    Weak ETags tolerate minor changes that don't affect resource meaning.
  2. Step 2: Reason why server uses weak ETags

    They avoid unnecessary cache invalidation for insignificant changes.
  3. Final Answer:

    To allow minor changes without forcing cache refresh -> Option D
  4. Quick Check:

    Weak ETags allow minor changes without refresh = C [OK]
Quick Trick: Weak ETags tolerate small changes to avoid cache misses [OK]
Common Mistakes:
MISTAKES
  • Thinking weak ETags improve security
  • Believing weak ETags disable caching
  • Assuming HTTP/2 requires weak ETags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes