My data doesn't change often and doesn't tequire the very newest data. It is sufficient for my needs to update the file maybe once a day so I could write a job that updates the file only when data is updated.
Thank you for the help /Nick On Wed, Jan 18, 2012 at 10:51 AM, Rossko <[email protected]> wrote: > > I posted most of my code for review to > > Good, this isn't the place for non-Maps code dumps. > > > - Make a cron job that accesses the file every 5 minutes to keep the data > > fresh in memcache > > Why, how often is your data updated? How about changing your code to > create a new KML file only when the data is updated? > > Bear in mind that when using KmlLayer to display KML, your KML (when > successfully read) will be cached at Google's servers for some hours. > If your data changes often, you will need to overcome that caching as > well. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
