Recently viewed products in Magento: widgets, customer data sections, private content and personalization on the storefront.
Caps recently viewed items at 10 on client and server. Trims localStorage and truncates sync requests to prevent bloated storage, huge POSTs, and database hammering, mitigating a simple DoS vector.