Clear Cache For Google Earth On

Clearing the Google Earth EC cache

Computer

Clear Cache For Google Earth Online

If you have signed in to a database on GEE Server with Google Earth EC previously, you may be unable to sign in again to the same database. An effective way of resolving this issue is to sign out of your server, clear your cache, and log back in.

Clear Cache For Google Earth On Mac

Use the update-cache request to update and remove content from the Google AMP Cache. Currently, update-cache only ensures that the content is updated within its max-age, which means the maximum amount of time a resource will be considered fresh. Explore the globe with a swipe of your finger. Available on Android and iOS. Google Earth Pro on desktop. Create maps with advanced tools on PC, Mac or Linux. Tell your story with Google Earth. Meet three people who are using Google Earth to protect rivers, inspire students and revisit their birth country.

To clear your cache (On Windows and Linux):

  1. Select File > Server Sign Out.
  2. Select Tools > Options > Cache.
  3. Select Delete cache file (only when logged out).

To clear your cache (On Mac OS X):

  1. Select File > Server Sign Out.
  2. Select Google Earth EC > Preferences > Cache.
  3. Select Delete cache file (only when logged out).

Use the update-cache request to update and remove content from the Google AMP Cache. Currently, update-cache only ensures that the content is updated within its max-age, which means the maximum amount of time a resource will be considered fresh.

The update-cache request requires the domain owner tosign the requests with an RSA key and to serve the matching public key from a standard URL on the origin domain.

You can flush any currently cached version of a document by issuing a signedrequest to the AMP Cache. The update-cache request is called at this address:

A previous API called update-ping has been deprecated.Clear cache on google earth

Parameters

The update-cache request requires the following parameters and values:

Parameters
example-com and example.com

Required

The domain name specified according to the formats used in the AMP cache URL format.
<cache.updateCacheApiDomainSuffix>

Required

The domain name of the AMP Cache. See Call the update-cache request for more information.
amp_ts=<ts_val>

Required

This parameter represents a UNIX-epoch timestamp, which is used to prevent replayattacks. The value should be the current time in seconds, which must be within 1 minute before orafter the current time.
amp_url_signature=<sig_val>

Required

This parameter represents the RSA signature of the entire request path (see Generate the RSA key), including amp_action and amp_ts, but excluding the signatureitself.

Guidelines

You must follow the update-cache guidelines:

  • The AMP Cache hostname (cdn.ampproject.org) is excluded from the signatureto allow submitting the same signed request to multiple AMP Cache operators.
  • For signature verification, you must serve the public RSA key at a fixedlocation on the AMP document's domain (to generate the key, see Generate the RSA key). For example:
  • The public key must not be roboted.
  • The URL must be HTTPS.
  • The domain must be the exact domain that you want to update, not a sub orsuper domain.
  • You must publish the key in PEM format and serve the key with thecontent-type 'text/plain'.
  • The AMP Cache always fetches the public key from the same domain of therequest, regardless of the domain specified by the document via any rel=canonicaltag. If the origin domain serves an HTTP redirect at the location to beflushed, only the requested path is flushed from cache, and not the target ofthe redirect.

Update or remove content

You can use update-cache to update or permanently remove content from the Google AMP Cacheafter the content has been removed from its origin. To update or remove content, follow the steps below:

Clear Cache For Google Earth On
  1. Fetch the following file:
  2. Iterate through the entries in the caches entries in the JSON file.
  3. Select the caches that you want to support. Note: You can support all caches, only Google caches, or a set of your choice.
  4. Call theupdate-cache request using the updateCacheApiDomainSuffix from each cache entry.
  5. Construct the URLs using the following format:

Generate the RSA key

The OpenSSL project providescommand-line tools to generate and manage asymmetric RSA keys. You can alsogenerate RSA keys and manage them programmatically through the OpenSSL library, or anequivalent crypto API (node-crypto, NSS, or GnuTLS).

Clear Cache For Google Earth On Chrome

  1. Generate a pair of RSA keys in the textual PEM format likethis:
  2. Post the public key on the domain to be refreshed at the following location:

    The URL must be HTTPS. The key must be publicly accessible by an anonymoususer.

  3. Use the private key to sign the update-cache request. Forexample:

    The output to signature.bin is a binary RSA signature.

  4. Use the public key to verify the signature:
  5. Encode the binary RSA signature using the web-safe variant of base64:
  6. Append the base64-encoded RSA signature to the URL using the amp_url_signature query parameter.

Update the RSA key

If you want to update your RSA key, you can access the RSA key through the AMP Cachelink and Google may crawl your new RSA key within several hours. Here is the AMP Cache link: