Skip to main content

Configure Prefetching

You have several options for managing Prerender prefetching configurations.

  • Prefetching tab - In the Prefetching tab in the web console, you can view and manage prefetching configurations for an origin.
  • REST API - Macrometa provides a API calls that allow you to view and manage prefetching configurations for an origin.

View Prefetching Configurations

Follow these instructions to view prefetching jobs in the web console.

  1. Log in to your Prerender dashboard.
  2. Click Prefetching.
  3. Click Configuration.

Prerendering Prefetching Configuration Tab

Prefetching Configuration Fields

Prerender provides the following prefetching configuration fields. Field names in the web console are different than those in the API responses. Refer to the API endpoint documentation for a full explanation of the API response.

  • Status - Whether the configuration is active or inactive.
  • Origin URL - The origin URL.
  • Sitemaps - The sitemap path, if the origin has one. Prerender will prefetch all URLs on the sitemap when the configuration is active.
  • Scheduling - Cron expression entered to trigger the prefetching job.
  • Devices - Icon indicating whether the prefetch was rendered for just desktop or desktop and mobile.
  • Actions - Icon that allows you to update.

Configure Prefetching

A new prefetch configuration appears in the web console when you add a new origin in the Origin Settings tab. For more information about viewing and adding origins, refer to Manage Origins.

The new configuration is inactive and unscheduled. Follow these instructions in order to activate it:

  1. Log in to your Prerender dashboard.
  2. Click Prefetching.
  3. Click Configuration.
  4. Click the Actions icon.
  5. In Cron Expression for Scheduling, enter the cron expression that will dictate how often the job runs.
  6. In Devices, select the devices that you want to prefetch pages for.
  7. Click Add.

Prerendering Add Prefetching Configuration

Edit Prefetching Configuration

Follow these instructions to edit a prefetching in the web console.

  1. Log in to your Prerender dashboard.
  2. Click Prefetching.
  3. Click Configuration.
  4. Click the Actions icon.
  5. In Cron Expression for Scheduling, enter or update the cron expression.
  6. In Devices, select the devices that you want to prefetch pages for.
  7. Click Update.

Prerendering Update Prefetching Configuration

Delete Prefetching Configuration

Delete a prefetching configuration.