JAVASCRIPT CLIENT SIDE CACHING.