# ComboStrap Analytics - Process

## Update

Because this is a intensive process, it happens slowly:

• for every page visited
• or for every page that gains or lost backlinks.

And the output is cached.

If you want to update all pages in batch, you can do it with the cli on the server.

## Cache

To purge the analytical cache, you can:

• run the cli
• do it manually for one page by adding the following query ?do=export_combo_analytics&purge=true. See the dokuwiki doc
• modifying a configuration forth and back. The update of the configuration file purges the current cache.

## Cli

On the server, you can update the analytical data with the following command

cd $DOKUWIKI_HOME ./bin/plugin.php combo analytics  ## Monitoring ### The last pages analyzed You can monitor the process by querying on the date field. Example: select id, json_extract(analytics, '$.date') as date
from
pages
order by date desc
limit 10;


### The pages to be analyzed

The pages to analyze are stored in the table analtyics_to_refresh.

If you query this table, you would get all page that should be analyzed in the near future.

select * from analtyics_to_refresh