You're developing a news website where the content is updated every few minutes. Which caching strategy would be most appropriate to ensure users always see the latest content?

  • a) Browser Caching: The browser caches content for a short duration.
  • b) Content Delivery Network (CDN) Caching: Cached content is distributed globally.
  • c) Server-Side Caching: Caches content on the server and serves it to users.
  • d) Long-Term Caching: Content is cached for an extended period.
For a news website with rapidly changing content, browser caching (option a) is not ideal because it may lead to users seeing outdated content. The best option is to use Server-Side Caching (option c), which allows you to control and update the cache frequently, ensuring users receive the latest content. CDN caching (option b) and long-term caching (option d) are more suitable for static content with less frequent updates.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *