Compression, caching and refresh

addressed issues #69 and #70.
partially addressed issue #90 by enabling gzip