[indexPattern.get()] don't cache requests without an id
Merge pull request #1645 from spenceralger/index_pattern_cache

[indexPattern.get()] don't cache requests without an id