Use query args when caching views

#1846 

@amitaibu Going to need to merge this bugfix for taxonomy but would appreciate your guys review.