Skip to content

Instantly share code, notes, and snippets.

@Erol
Created March 4, 2013 16:20
Show Gist options
  • Save Erol/5083425 to your computer and use it in GitHub Desktop.
Save Erol/5083425 to your computer and use it in GitHub Desktop.
iOS 6 Fix: Globally set Cache-Control no-cache on POST requests
http {
if ($request_method = 'POST') {
add_header 'Cache-Control' 'no-cache';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment