adding cross domain and caching stuff to network server