Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

SUS-1620 | Introduced User::touch() method to bump the getTouched() value using memcached #12923

Merged
merged 3 commits into from
May 16, 2017

Commits on May 16, 2017

  1. Configuration menu
    Copy the full SHA
    b0f6ae1 View commit details
    Browse the repository at this point in the history
  2. SUS-1620 | Introduced User::touch() method to bump the getTouched() v…

    …alue using memcached
    
    * This lets some callers avoid the heavyweight invalidateCache() method
    
    Backporting wikimedia/mediawiki@87d2eba (MW 1.25)
    AaronSchulz authored and macbre committed May 16, 2017
    Configuration menu
    Copy the full SHA
    1559ef5 View commit details
    Browse the repository at this point in the history
  3. SUS-1620 | Made User::invalidateCache() use touch() instead of the DB…

    … query
    
    * This method is used for clearing the User cache as well
      as bumping the value of getTouched() for HTTP 304 logic.
      These do not need to do the actual user_touched update.
    * This also avoids problems with setting mTouched but
      deferring the update. That confused the CAS update
      logic since it expects mTouched to be in the DB.
    
    Backporting wikimedia/mediawiki@5b4bd16 (MW 1.26)
    AaronSchulz authored and macbre committed May 16, 2017
    Configuration menu
    Copy the full SHA
    912acb9 View commit details
    Browse the repository at this point in the history