Skip to content

Instantly share code, notes, and snippets.

@Pchelolo
Created July 27, 2015 16:29
Show Gist options
  • Save Pchelolo/4f5d33c97315a994c2df to your computer and use it in GitHub Desktop.
Save Pchelolo/4f5d33c97315a994c2df to your computer and use it in GitHub Desktop.
- get_cached:
method: get # can be omitted, get is default
headers:
cache-control: '{cache-control}'
uri: /{domain}/sys/key_value/postservice.png/{hash}
- return_on_success!: '{$.get_cached}'
- get_post:
....
@gwicke
Copy link

gwicke commented Jul 27, 2015

- return_on_success!:
    method: get # can be omitted, get is default
    headers:
      cache-control: '{cache-control}'
    uri: /{domain}/sys/key_value/postservice.png/{hash}
- get_post:
    ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment