Skip to main content
added 13 characters in body
Source Link
Cornwell
  • 117
  • 1
  • 8

I'm developing an application that will show some weather information based on the user's location. Since the weather forecast is just a very small feature of the app that complements the main ones, I do not want to spend too much money on the 3rd party weather API. which charges per per API call

The app will make a request at least once every 30mins. I plan on caching the requests in my server based on the coordinates with a 2-decimal place precision (1.11 km) but I fear caching it that way will not be enough and it will end up being a very expensive minimal feature.

Any other (better) ways of doing this?

If it matters, I will be using https://openweathermap.org/api

Thanks!

I'm developing an application that will show some weather information based on the user's location. Since the weather forecast is just a very small feature of the app that complements the main ones, I do not want to spend too much money on the 3rd party weather API.

The app will make a request at least once every 30mins. I plan on caching the requests based on the coordinates with a 2-decimal place precision (1.11 km) but I fear caching it that way will not be enough and it will end up being a very expensive minimal feature.

Any other (better) ways of doing this?

If it matters, I will be using https://openweathermap.org/api

Thanks!

I'm developing an application that will show some weather information based on the user's location. Since the weather forecast is just a very small feature of the app that complements the main ones, I do not want to spend too much money on the 3rd party weather API which charges per per API call

The app will make a request at least once every 30mins. I plan on caching the requests in my server based on the coordinates with a 2-decimal place precision (1.11 km) but I fear caching it that way will not be enough and it will end up being a very expensive minimal feature.

Any other (better) ways of doing this?

If it matters, I will be using https://openweathermap.org/api

Thanks!

Source Link
Cornwell
  • 117
  • 1
  • 8

Recommended way of caching weather information

I'm developing an application that will show some weather information based on the user's location. Since the weather forecast is just a very small feature of the app that complements the main ones, I do not want to spend too much money on the 3rd party weather API.

The app will make a request at least once every 30mins. I plan on caching the requests based on the coordinates with a 2-decimal place precision (1.11 km) but I fear caching it that way will not be enough and it will end up being a very expensive minimal feature.

Any other (better) ways of doing this?

If it matters, I will be using https://openweathermap.org/api

Thanks!