/ Published in: JavaScript

Simple code example that allows you to pull a time stamp / timestamp to attach to end of URL for GET POST calls
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var currentTime = new Date(); var n = currentTime.getTime(); postUrl = "http://www.example.com/test.php?nocache="+n;
URL: http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results
Comments
