Title: Map cached by Google
Last modified: August 20, 2016

---

# Map cached by Google

 *  Resolved [Vincent Robic](https://wordpress.org/support/users/vrobic/)
 * (@vrobic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/map-cached-by-google/)
 * Hi,
 * Since a couple of days/weeks, the rendered map is not updated when I modify the
   GPX file. The Track Editor works fine, I can check via SSH or HTTP that the file
   has changed.
 * It seems that Google doesn’t reload the file when its URL remains unchanged. 
   If I rename the file, the rendered map gets updated.
 * I know we shouldn’t modify the plugin source code, but here is a quick workaround:
 * in `/wp-content/plugins/google-maps-gpx-viewer/google-maps-gpx-viewer.php`, line
   90 :
 * >  $gpxfile = htmlspecialchars_decode($attr[‘gpx’]);
   >  $gpxfile .= ‘?v=’.rand();//
   > Force Google to download the file
 * Maybe you could include it in the next release ?
 * [http://wordpress.org/extend/plugins/google-maps-gpx-viewer/](http://wordpress.org/extend/plugins/google-maps-gpx-viewer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Bernd Altmeier](https://wordpress.org/support/users/bernd-altmeier/)
 * (@bernd-altmeier)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/map-cached-by-google/#post-3629594)
 * try “Cntr F5” instead!
 *  Thread Starter [Vincent Robic](https://wordpress.org/support/users/vrobic/)
 * (@vrobic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/map-cached-by-google/#post-3629595)
 * Hi Bernd,
 * It’s not a client side cache, it’s Google’s side 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Map cached by Google’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-gpx-viewer_c3d0cb.svg)
 * [Google Maps GPX Viewer](https://wordpress.org/plugins/google-maps-gpx-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-gpx-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-gpx-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-gpx-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-gpx-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-gpx-viewer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Vincent Robic](https://wordpress.org/support/users/vrobic/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/map-cached-by-google/#post-3629595)
 * Status: resolved