Hi there,
I'm building a directory on a website with google places api. I created a shortcode with a parameter, that I can put on every pages like [shortocde='my query']
Based on 'my query', I have a php script that use the google maps api to push the data well formated on the page.
Infos are : name, address, phone, website, photo
I've generated about 120 pages with 20 listing on each one.
I've also spent $500 a day on api cost and that's the main problem
How to cache each page to avoid doing api calls each time the page is visited ?
I'm building a directory on a website with google places api. I created a shortcode with a parameter, that I can put on every pages like [shortocde='my query']
Based on 'my query', I have a php script that use the google maps api to push the data well formated on the page.
Infos are : name, address, phone, website, photo
I've generated about 120 pages with 20 listing on each one.
I've also spent $500 a day on api cost and that's the main problem
How to cache each page to avoid doing api calls each time the page is visited ?