I do not want to over the limit of requests I have in my Google Maps membership. Often the requests are the same so I don't need to re-request them.
If I am doing this:
$.ajax({
type: "GET",
headers: {
"Content-Type": "application/json"
},
cache: true,
url: "https://maps.googleapis.com/maps/api/place/autocomplete/json?INPUT_AND_API_KEY_AND_SOME_OTHER_PARAMS",
data: JSON.stringify(myData),
success: function(response) {
//code
}
});
Will it be enough?
When I say be enough, I mean: do not requesting the same data based on previous input data, OR I should do something more complex.
Thanks