Repo Refresh

There are several ways how to refresh your Repo items.

Manual refresh

Bulk action

In the ASA 2 Repo admin section, you can select the items you want to refresh and select “Refresh” in the bulk actions dropdown menu. Then hit the button “Apply” to perform the action. ASA 2 will loop through the selected items and refresh them.

ASA 2 Repo refresh

Note

The more items you select, the longer it may take.

Single item

You can update a single item on the item’s edit page, by selecting the checkbox “Refresh item data” in the post publish box before you hit the button “Update”.

ASA 2 Repo refresh single item

Automatic refresh

Cronjob

The cronjob to refresh the Repo items automatically is by far the best option to keep your repo items up-to-date. Without any user action, the item in your Repo will be refreshed regularly. Using the cronjob will prevent any Amazon API request on user page access.

Read more about the Repo cronjob here: Repo items refresh

Auto-refresh

If you do not use the Repo cronjob, ASA 2 will by default automatically refresh a Repo item when its lifetime is exceeded.

For example: A user opens a page of your blog on which has a Repo item embedded. When ASA 2 loads the item, it will check if the configured lifetime is exceeded. If so, the item will be refreshed first via the Amazon API and then be displayed on the page.

The more items with exceeded Repo lifetimes are on a page, the longer the page loading time will be.

Note

For a fast page loading time it is highly recommended to use the Repo Cronjob.