Skip to content

Store Weather details and update it periodically  #4

@hardikverma22

Description

@hardikverma22

Instead of triggering the weather API each time a user visit a plan, trigger the API call only if the delay is 1 hour at least and show last updated time also.
Lets say user visits a plan first time, the server should call the weather api and return the updated weather.
Now if you visit that page again and again, last updated should be checked and if it more than one hour from current time, the api should trigger again. until then one hour stale data should be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions