Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Improve AppLounge caching for Exodus Privacy

Jonathan Klee requested to merge 2687-t-work-on-cache into main

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

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

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

Merge request reports

Loading