remove caching on timestamp for personal stats | API Developme…
remove caching on timestamp for personal stats
  • |X| Carl [1188181]Carl [1188181]
    • Carl [1188181]
    • Role: Civilian
    • Level: 100
    • Posts: 1240
    • Karma: 1642
    • Last Action: 2 hours
    • Quote
    • Report
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 13:47:32 - 07/09/21 (1 month ago)
    |
    Last replied 05:33:17 - 03/10/21 (19 days ago)
    Hi,

    trying to use the personal stats api to get a change between 2 dates, but it seems theres a 20 second or so 'cache' for that api, which isnt overridden by the timestamp.. so I could hit the api with a time stamp of a month ago, and immmediately hit the api again with todays timestamp and the result is the same.. can we remove caching for timestamp calls/what would be your suggestion for handling this?

    thanks
    carl
  • JFK™ Kivou [2000607]Kivou [2000607]
    • Kivou [2000607]
    • Role: Reporter
    • Level: 100
    • Posts: 1599
    • Karma: 2217
    • Last Action: 2 hours
    • Quote
    • Report
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:33:17 - 03/10/21 (19 days ago)
    Post link copied to clipboard Copy post link

    Carl [1188181]

    Hi,

    trying to use the personal stats api to get a change between 2 dates, but it seems theres a 20 second or so 'cache' for that api, which isnt overridden by the timestamp.. so I could hit the api with a time stamp of a month ago, and immmediately hit the api again with todays timestamp and the result is the same.. can we remove caching for timestamp calls/what would be your suggestion for handling this?

    thanks
    carl
    edit: nvm old thread and https://www.torn.com/forums.php#/p=threads&f=19&t=16241684&b=0&a=0&start=0&to=21790549
    Last edited by Kivou on 05:39:25 - 03/10/21

    FJK

Reply
Thread Title: