Source Code:
AJAX
Request data
Click the button several times to see if the time changes, or if the file is cached.
Result:
W3Schools.com
- Try it yourself