Only load AppCache configuration on server.

Change-Id: I6e7c7235118e2af0ad6a9e147e58fc1279a58699