When optimizing an MVC application for performance, where should caching strategies be implemented in relation to servlets?
- In a separate caching layer
- In the Controller
- In the Model
- In the View
Caching strategies, for optimizing performance, should be implemented in the Model. The Model is responsible for data access and processing, making it an appropriate place to introduce caching mechanisms.
Loading...
Related Quiz
- What is a CallableStatement used for in JDBC?
- What is the primary purpose of using WebSockets in web applications?
- Which load balancing algorithm distributes requests based on the server with the least connections?
- Which XML element is used to declare a filter in a web application's deployment descriptor?
- When refactoring a servlet to make it more configurable, what changes are made regarding initialization parameters?