Rewrite user_touched comment, since apparently it is not clear enough
authorTim Starling <tstarling@wikimedia.org>
Tue, 12 Mar 2013 00:32:54 +0000 (11:32 +1100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 12 Mar 2013 00:49:34 +0000 (01:49 +0100)
Change-Id: Ib993e5a6dc56963e9afbbdc2ada77762e1594f0b

maintenance/tables.sql

index 97d6ff2..a917783 100644 (file)
@@ -86,10 +86,12 @@ CREATE TABLE /*_*/user (
   -- Same with passwords.
   user_email tinytext NOT NULL,
 
-  -- This is a timestamp which is updated when a user
-  -- logs in, logs out, changes preferences, or performs
-  -- some other action requiring HTML cache invalidation
-  -- to ensure that the UI is updated.
+  -- If the browser sends an If-Modified-Since header, a 304 response is
+  -- suppressed if the value in this field for the current user is later than
+  -- the value in the IMS header. That is, this field is an invalidation timestamp
+  -- for the browser cache of logged-in users. Among other things, it is used
+  -- to prevent pages generated for a previously logged in user from being
+  -- displayed after a session expiry followed by a fresh login.
   user_touched binary(14) NOT NULL default '',
 
   -- A pseudorandomly generated value that is stored in