Date of Award
2024
Document Type
Open Access Master's Report
Degree Name
Master of Science in Computer Science (MS)
Administrative Home Department
Department of Computer Science
Advisor 1
Robert L. Pastel
Committee Member 1
Gorkem Asilioglu
Committee Member 2
Donald J. Lafreniere
Abstract
The Keweenaw Time Traveler (KeTT) project is devoted to mapping the historical and social landscapes of the Keweenaw Peninsula. During the project, it was discovered that the server-side performance needed improvement. To address this issue, the "Optimizing PHP API Calls with Pagination and Caching" initiative was launched. This initiative focused on refining API calls, implementing server caching and pagination, and fortifying security against common vulnerabilities. The project successfully mitigated risks associated with SQL Injection and XSS through meticulous code enhancements while improving error handling. Additionally, the introduction of Scroll-Induced Pagination optimized data delivery, significantly reducing response times, and elevating the user experience. Server-side caching further expedited API interactions, offering near-instantaneous results, and improved debugging efficiency. Future recommendations include advanced caching mechanisms, API rate limiting, and intelligent data prefetching. This comprehensive overhaul not only strengthened the application's performance but also set a precedent for future developments in optimizing web-based applications.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Recommended Citation
Sudda, Parsharam Reddy, "OPTIMIZING PHP API CALLS WITH PAGINATION AND CACHING", Open Access Master's Report, Michigan Technological University, 2024.