Using the response's setLastModified() & isNotModified() methods.