Download presentation
Presentation is loading. Please wait.
Published byDorota Włodarczyk Modified over 5 years ago
1
CS122B: Projects in Databases and Web Applications Spring 2018
Professor Chen Li Department of Computer Science UC Irvine Notes 04: Pagination and Caching
2
Pagination Show results in different pages CS122B Notes 04: Pagination
3
SQL Support SELECT columns FROM table LIMIT 20 OFFSET 10
CS122B Notes 04: Pagination
4
Embedding parameters in GET requests
Example: CS122B Notes 04: Pagination
5
Caching in Tomcat Store the query results as an object
Later requests can be served using the cache without querying the database CS122B Notes 04: Pagination
6
Caching in Tomcat Pros: Cons: Less traffic on DB Low response time
Memory overhead in web server Results may be obsolete CS122B Notes 04: Pagination
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.