Local storage and compression