I have been setting up a mvc project with a webapi. I have it working but I do not know why my GET calls have additional pieces to their URL's.
Example:
/api/User/Zholen?_=1373490280823
Can someone explain to me what this number at the end is for? It seems to only be attached to GET calls and only the ones I personally call via javascript.
I am using amplify.js when making these calls from javascript. I noticed that the number increments per call ***23, 24, 25 etc.
I do also send a cookie with each call which stores information about the current logged on user.
I am not sure which, if any, of these things are causing this number to be generated.
jQuery adds this to AJAX URLs to prevent caching.
To prevent this, pass cache: true
as an option.