4 ms·
It sounds like AdSense is automatically crawling your page to determine which ads to serve in future. I guess if it matters to your app, you'd probably want to
by justinsb 18y ago
It sounds like AdSense is automatically crawling your page to determine which ads to serve in future. I guess if it matters to your app, you'd probably want to figure out the Google IP addresses and exclude them from writing to the DB.
You could verify this by posting your HTTP access log.
This hadn't occurred to me previously, and I couldn't find anything about it, but I don't see how else Adsense could work.
I would imagine it only happens once per page, hence the need to keep changing the file name.
- marcus 18y agoDon't bother trying to find Google's IPs, just block writing to the database when the UserAgent is GoogleBot. It happens more than once per page, as the AdSense bot will occasionally reread the page to see if its content changed and it should start serving different ads.