Skip to content

[Request]: option to perform cache-busting on API call #14

@thegoleffect

Description

@thegoleffect

Ohai guys,

I need this option especially WRT to this call: cloudservers.getServers(true, function(){}). The default cache-control settings for Rackspace calls are 30 minutes - this hurts when I'm spawning servers via script and need IPs on completion... I don't want to wait.

Rackspace's official suggestion is to use dummy get parameters to do cache-busting: http://docs.rackspace.com/servers/api/v1.0/cs-devguide/content/Caching-d1e921.html

Rather than do cache busting on EVERY call, I suggest a flag/variable/option on a per-call basis - anything as long as it works.

I'd do a pull request but IDK if you want to change your request procedures based on what Eran talked about earlier this week. LMK.

Thanks,
Van

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions