Cache

[Warning] Warning

You will need to make sure the disk storing the cache has sufficient available disk space.

Geoconcept Web uses a cache manager that allows maps to be published in sections, or small-sized tiles: this cache mechanism has several levels, enabling in this way optimized display performances.

These tiles are stored:

  • on the one hand, in the browser cache, thereby conserving displayed components and side-stepping the need for one or several calls to be made via the server;
  • on the other hand, on the mapping server, the tiles calculated are conserved within the map server cache both in RAM and on the disk. If a user consults the position visited earlier by another user, their query will be equivalent to a request for the display of the same tiles, These tiles are present in the server memory cache, and so the new user will then benefit in terms of much shorter response times.

The server memory and disk caches, and the browser cache, together make up the so-called «triple cache».

These tiles are classified in a tree structure made up of several directories, built on the basis of wmts_map name__tab name_format_size_logical scale of the Geoconcept map.

Application

The file path to the cache determines which directory stores tiles for the maps used in Geoconcept Web. This filepath can be edited from the settings page under Administration / Cache - Tiles cache path directory.

The overall space taken up on the disk is displayed along with individual directory disk space footprints as listed in the table below.

  • The Update metadata button allows you to update metadata for all maps used to generate caches. This action is needed when certain elements of the map (scales, rectangle imprints…) have been edited via the Geoconcept GIS.
  • Use the Delete button to select, from the available layers, those to be deleted. Checking the corresponding layers in the tree, the administrator can select and delete all or several Maps / Layers / Scales (the last figure listed in the layer name) in a single step. The corresponding cache stored in the RAM is also deleted.
  • Use the Delete all button to delete all existing caches whether on the disk or in RAM. This also updates the metadata for all maps and increments the version number of the layer. A confirmation message allows the user to validate, or not, this action.

The actions of the 3 preceding buttons are applied without any interruption to the service. If the layers are already published, it will not be necessary to request that users delete their browser cache; it will suffice - from the layer manager Administration / Layers / Tiled layers for each layer concerned, to click on the Update button. This action will increment the version number for the layer, which is in turn automatically updated on all portals. There is no additional manipulation required on the part of the user.

Advanced

From Google Chrome Menu / History / Delete browsing data… check images and files in the cache then Delete browsing data. The CTRL+SHIFT+DEL shortcut gives you rapid access to the Delete browsing data window.

From Mozilla Firefox Menu / Options / Privacy / Delete recent history check cache then Delete now. The CTRL+SHIFT+DEL shortcut allows you to rapidly arrive at the Delete all history window.

From Internet Explorer Tools / Internet Options / General tab General / Delete check Internet Files and Temporary Web site files then Delete. The CTRL+SHIFT+DEL shortcut allows you to rapidly arrive at the Delete browsing history window.

From Microsoft Edge Settings / History / Delete browsing data check Images and files placed in the cache then Delete now. Use the CTRL+SHIFT+DELETE shortcut to rapidly move to the Delete browsing data window.

If needed, you can empty the RAM without deleting tiles stored on the disk by simply shutting down and restarting the Tomcat service.