The quote shown each day is selected using a deterministic algorithm:
index = crc32( current_date + site_url ) mod total_quotes
This means the same quote is shown to every visitor on the same day, regardless of whether the page is cached. There is no randomness, no session, and no cookie involved. The quote changes automatically at midnight.
A fallback mechanism ensures that the same quote never appears on two consecutive days. If the algorithm would select the same quote as the previous day, a secondary hash is calculated to determine a different quote.
Published quote IDs are stored in a WordPress transient cache and refreshed daily, keeping database queries to a minimum.