Skip to main content


The CDN section encapsulates data that is hosted on the Recharge CDN. This data is occasionally updated but is fairly static and as such all requests to CDN data are cached by the Recharge JavaScript SDK. The caller must call the resetCDNCache function to clear it if they want to fetch updated data within the same customer session.

resetCDNCache v1.0.0 Types

Clears the CDN cache forcing new data to be fetched.

import { resetCDNCache } from '@rechargeapps/storefront-client';