A COMPARATIVE ANALYSIS OF THE IMPACT AND RISK MITIGATION OF PWA APPLICATIONS' CACHING MECHANISMS: A CASE STUDY

dc.contributor.authorBandara, H.
dc.contributor.authorWarnajith, N.
dc.date.accessioned2025-12-17T07:14:22Z
dc.date.issued2025
dc.description.abstractProgressive Web Applications (PWAs) revolutionize web experiences by combining accessibility with native-like performance, offline functionality, and responsiveness. However, while service worker caching enhances performance, it also introduces critical security risks that remain inadequately addressed. This research bridges this gap by evaluating both the impact and risks of caching mechanisms, which existing studies often overlook. To achieve this, two identical PWAs, one with service worker caching and one without were developed and tested under controlled conditions, revealing substantial improvements in reload times and offline accessibility, particularly for users on low-bandwidth networks or resource-limited devices. However, the study also identified significant security vulnerabilities, such as Denial-of-Service (DoS) attacks caused by unrestricted caching of large media files, leading to storage exhaustion and application crashes. A novel Multi-Layer Defence Architecture was introduced to mitigate these risks while preserving caching benefits, incorporating atomic operations, streaming size validation, proactive cache purging, and real-time quota checks. The implementation of this approach successfully neutralized attack vectors without sacrificing performance, demonstrating a crucial advancement in PWA security. These findings fill a critical research gap and provide practical guidelines for developers and organizations to implement secure and efficient caching strategies. By ensuring that PWAs remain both high-performing and resilient against attacks, this research supports the broader adoption of secure web technologies and contributes to user trust in digital services. Future work will extend these findings by conducting cross-browser performance and security assessments, investigating additional service worker-related vulnerabilities, and developing automated tools for detecting PWA security threats. This study reinforces the necessity of balancing performance and security in modern web applications, ensuring their long-term viability and reliability.
dc.identifier.citationBandara, H., & Warnajith, N. (2025). A comparative analysis of the impact and risk mitigation of PWA applications' caching mechanisms: A case study. Proceeding of the 3rd Desk Research Conference - DRC 2025. The Library, University of Kelaniya, Sri Lanka. (pp. 23-33).
dc.identifier.urihttp://repository.kln.ac.lk/handle/123456789/30910
dc.publisherThe Library, University of Kelaniya, Sri Lanka.
dc.subjectdenial of service
dc.subjectprogressive web application
dc.subjectservice worker
dc.subjectthrottling
dc.titleA COMPARATIVE ANALYSIS OF THE IMPACT AND RISK MITIGATION OF PWA APPLICATIONS' CACHING MECHANISMS: A CASE STUDY
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TC-3.pdf
Size:
431.61 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections