Skip to main content

Retrieving cached widgets from the Judge.me cache server

Updated this week

If you wish to access the cached versions of your widgets efficiently, you can make requests to our cache server. This method not only speeds up the process compared to using the Judge.me API but also allows you to load multiple widgets in a single request. To initiate a request to the cache server, use the following endpoint:

Endpoint: https://cache.judge.me/widgets/:shop_platform/:shop_domain

Parameters:

  • public_token: Your public API token

  • preview_badge_product_ids: Replace ? with comma-separated product IDs for the Star Ratings widget.

  • review_widget_product_ids: Replace ? with comma-separated product IDs for the Review Widget.

  • reviews_tab: Set to 1.

  • featured_carousel: Set to 1.

  • all_reviews_page: Set to 1.

  • verified_badge: Set to 1.

  • all_reviews_rating: Set to 1.

  • all_reviews_count: Set to 1.

Notes:

  • Include only the necessary widgets by replacing ? with the respective product IDs.

  • For the Reviews Tab and Featured Carousel widgets, it's important to fetch all review ratings and counts; however, this isn't required for other widgets.

  • Ensure you include your public API token in the parameters. You find this token in Settings > Integrations > View API token.

Additionally, follow these steps to complete the process:

  1. Include the product IDs for the Star Ratings and Review Widget.

  2. Enable the "Platform-independent Review Widgets" setting to display Judge.me widgets on non-Shopify HTML pages. You can do this in our Judge.me app by going to Settings > Advanced > Platform-independent Review Widget.

Finally, customize the widgets for our cache server and add the appropriate scripts. Detailed instructions can be found in our help desk article.

Did this answer your question?