implement if-modified based http cache system

- add missing headers like "Vary" and content enconding
- added "no-cache" to stats.json