GroupCommerce/sdk.php — pull request #32 by jacobangel (2012-05-14 23:31:50+00:00)
Title: Adding caching controls to the SDK

- Refactored a few calls, reducing repetition
- Added three levels of cache:
* `CACHE_FLUSH`, which passes nocache=1
* `CACHE_BYPASS`, which bypasses local request caching
* `CACHE_NORMAL`, which is normal caching
- Fixed error, where data type was not being preserved after a request was
made; that is a second XML request would try to use SimpleXML to parse
JSON

# Reviewers
@billrob @JoeCianflone

# Notes
I ended up taking some of the advice, and rewrote the caching to allow for three settings. Please give it another look. Thanks!