AppCache

 AppCache  is a bad idea. You really should stay far away from it. Instead, look into Service Workers. You'll thank me later.