Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Site checkpoints #1053
Move older site data to a separate checkpoint file to reduce site size, number of files and speed up initial download time.
Problem 1: Know which data is archived.
When a new update comes for a file the db layer drops the old entries and insert the new ones. So we has to know which entries belongs to checkpoint file and which ones are stored in user's data.json.
Solution A: Change the filename
Add a new
So when the update comes in for data.json it will only delete the entries with json_id 2.