Improve AppLounge caching for Exodus Privacy
Description
Small changes to improve HTTP caching for Exodus Privacy.
Screenshots
Technical details
- Introduced a 1 day cache for Exodus Privacy requests
- Increase the HTTP cache to 30Mb. On my personal device the cache was 96Mb. Removing it and playing a bit AppLounge makes the cache reach 10Mb quite quickly.
- Do not solicit Exodus Privacy for PWA apps.
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/2687
10 commandments of code reviews
Summary by CodeRabbit
-
New Features
- Enhanced caching for API calls related to tracker lists and app tracker information, improving response times.
- Added a check to prevent fetching tracker information for Progressive Web Apps (PWAs).
-
Improvements
- Increased cache size from 10 MB to 30 MB, allowing for more data storage and potentially better performance.
-
Tests
- Updated tests to reflect changes in handling Progressive Web Apps, including a new test for PWA scenarios.
Edited by CodeRabbitAI