Call (877) SITE-OPT (748-3678)

Code: Unique URIs

Chapter 8 - Ajax Optimization

To make it unique, you could just append a query string such as say hello. php?ts=unique-value. A simple way to do this would be to use a timestamp such as the one illustrated in this code fragment:

var ts = "ts=" + (new Date( )).getTime( );
sendRequest("sayhello.php", ts);
Copyright © 2002-2017 Website Optimization, LLC. All Rights Reserved - Free website speed test - Privacy Policy
Last modified: February 19, 2009.

Follow us on: Twitter, Google+, Facebook, Linked In