New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added caching of the currency conversion XML #3

Open
wants to merge 4 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@Top-Ranger
Copy link

Top-Ranger commented Jul 2, 2016

The currency conversion XML is now cached to the disk and updated on regular intervals (daily,weekly, monthly, always, never; default: daily). This has multiple advantages:

  • Privacy: you do not need to tell a (third-party) server whenever you
    open the application
  • Reducing internet usage (e.g. if you only have a limited amount of
    high-speed internet)
  • Offline usage: You can use the conversion offline (e.g. plane, abroad
    without roaming)

The check for update is performed at the start of the application. Is it also possible to force an update in the options.

Top-Ranger added some commits Jul 1, 2016

Added caching of currency XML file.
The XML file used to determine the conversion rate for the different
currencies is now cached to the disk and updated at regular intervals
(daily, weekly, monthly). This has several advantages:

 * Privacy - you do not need to tell a (third-party) server whenever you
open the application
 * Reducing internet usage (e.g. if you only have a limited amount of
high-speed internet)
 * Offline usage: You can use the conversion offline (e.g. plane, abroad
without roaming)

The downloaded xml file is saved into the configuration file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment