Google Maps GPX Viewer
[resolved] Map cached by Google (3 posts)

  1. Vincent Robic
    Posted 3 years ago #


    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 ?


  2. Bernd Altmeier
    Plugin Author

    Posted 3 years ago #

    try "Cntr F5" instead!

  3. Vincent Robic
    Posted 3 years ago #

    Hi Bernd,

    It's not a client side cache, it's Google's side ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Maps GPX Viewer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic