Which caching strategy involves keeping the most recently used items?
- LRU (Least Recently Used)
- FIFO (First In, First Out)
- Random Replacement
- LFU (Least Frequently Used)
The caching strategy that involves keeping the most recently used items is called LRU, which stands for "Least Recently Used." In LRU caching, when the cache is full and needs to make space for a new item, it removes the least recently accessed item. This strategy is often used to maximize cache efficiency.
Loading...
Related Quiz
- You are designing a system with a high read/write ratio, requiring efficient database interactions. How would you configure Sequelize or Mongoose to minimize database load and optimize performance?
- In what scenarios would you implement custom middleware instead of using built-in middleware in Express.js?
- Which property in the package.json file is used to define scripts that can be run with npm?
- How can you pass data from your Express route handler to your EJS view?
- In Express.js, how can you handle errors occurring in asynchronous code within a route handler?