Return to Snippet

Revision: 59676
at September 24, 2012 22:10 by kutyadog


Initial Code
var currentTime = new Date();
var n = currentTime.getTime();
postUrl = "http://www.example.com/test.php?nocache="+n;

Initial URL
http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results

Initial Description
Simple code example that allows you to pull a time stamp / timestamp to attach to end of URL for GET POST calls

Initial Title
Javascript using time to make GET POST calls no cache / random

Initial Tags
javascript

Initial Language
JavaScript