mfontani/Net-RackSpace-CloudServers — Issue #4: bypassing API request caching
Author: vladm
Created: 2012-01-05 22:15:01+00:00
State: open

Hi,

extensive cache settings (over 15 mins as of today) on Rackspace end makes it impossible to get up to day info about active servers (and perhaps images and other). As a dirty workaround I patched get_server function to include a random query value at the end of the URI:

$uri .= '?test=test' . rand;

I suggest to introduce '--no-cache' option to constructor that would result in adding no cache fields to http header as well as some random values to each URL as exampled above

-- vlad