Skip to content
  • There are no suggestions because the search field is empty.

How to cache specific URLs

You can cache specific URLs via the Cache Manager (up to 100 URLs) or the /recache API (up to 1,000 URLs) for Desktop, Mobile, or both.

Overview

Sometimes, you may want to cache or recache only a few specific pages on your website—whether due to a recent update, targeted SEO focus, or selective content deployment—without triggering a full cache refresh. Prerender provides two primary ways to handle this: through the Cache Manager in the dashboard or by using the /recache API.

Caching only the URLs you need helps optimize your usage limits, ensures that updated content is available to crawlers quickly, and maintains better control over rendering behaviors across device types.

 

Possible Scenarios

1. You need to manually cache a few pages via the dashboard

  • Best for quick caching of up to 100 URLs without needing API access.

2. You want to programmatically recache a larger batch of URLs

  • Best for automated workflows or caching more than 100 pages (requires API access).

3. You want to cache URLs specifically for Desktop, Mobile, or both

  • Useful for sites with responsive design or device-specific rendering logic.

 

Solution Steps / Troubleshooting Guide

1. Cache URLs via the Dashboard (Up to 100 URLs)

  1. Go to your Prerender dashboard.

  2. Click on Cache Manager in the left-hand menu.

  3. Click the "Add URLs" button in the top-right corner.

     image-1708095214403
  4. In the pop-up panel, paste the URLs you wish to cache (one per line, up to 100).

  5. Choose the device type: Desktop, Mobile, or Both.

  6. Click "Add" to submit the list and start the caching process.

 

2. Use the /recache API (Up to 1,000 URLs)

If you are on an Advanced or Enterprise/Custom plan, you can use the /recache API endpoint to programmatically submit URLs for caching.

API Access Update

Please note that API access is a premium feature available exclusively with our Advanced and Custom/Enterprise plans. For more information or to upgrade your plan, please get in touch with us.

Common Pitfalls / Tips

  • URL limit: The dashboard supports 100 URLs, while the API supports up to 1,000 URLs per call.

  • Device rendering matters: Be sure to select the correct rendering device (Desktop, Mobile, or Both) for accurate representation.

  • Use recache selectively: Avoid full cache clears unless absolutely necessary, as this can increase render usage significantly.

Additional Tips / Best Practices

  • Batch intelligently: If your site updates frequently, build a deployment hook that triggers the /recache API for only the affected URLs.

  • Use ignored URLs and query parameters to avoid caching dynamic pages or pages that don’t need prerendering.

  • Monitor usage and render count in your dashboard to avoid hitting your plan’s limit unexpectedly.

Get Support

Still have questions or need help? We’re here for you!

If you’ve followed the troubleshooting steps and still can’t resolve the issue, feel free to reach out to our support team. You can contact us via:

To help us resolve your issue as quickly as possible, please gather and include any relevant information, such as:

  • Error messages you're seeing
  • Steps you've already taken to troubleshoot
  • Screenshots or screen recordings (if applicable)

Providing these details up front will help our team diagnose the problem more efficiently and get you back on track faster.

 

Related Articles / FAQs