How to cache API results?

Discussion in 'Commission Junction' started by Kerosene, Feb 9, 2008.

  1. #1
    I've been using eBay's RSS feed since the dark ages, and am slowly switching a few of my sites over to the API. How on earth do I cache the API data? I don't need/want each page load to fetch the info over and over again.

    It's simple to cache the RSS feed results, but how do I cache the API data?
     
    Kerosene, Feb 9, 2008 IP
  2. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is this for the reporting tool?

    hanji
     
    hanji, Feb 9, 2008 IP
  3. zeropaid

    zeropaid Well-Known Member

    Messages:
    472
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    153
    #3
    I use memcache to cache API results, but you could use anything... mysql or any database. I have found memcache to be the fastest and most efficient.
     
    zeropaid, Feb 9, 2008 IP