Skip to content

RocketCDN Free Tier: API Integration #8287

@jeawhanlee

Description

@jeawhanlee

Description

Integrate the new RocketCDN free API into existing user flow.

  • Send req for creation of new subscription

    • Free
      • Happens when user adds a page for the first time (Add homepage or add the first page AND we don't have rocketcdn details in user endpoint)
      • This will not block the addition of homepage or the first page, they will be added but CDN will not reflect on their frontend.
    • Paid
      • Nothing changes here(happens with one-click purchase)
  • Handling upgrade from free to paid. This should also still be catered for by the one-click purchase (Nothing changes here at least on the plugin side)

  • Send req to cancel subscription (We are still not sure if we will handle this from our side or it'll be completely from website side)

    • Free
      • When WPR license expires
    • Paid
      • Nothing changes here(happens on the SaaS part)
  • Handle Cache clearing after creation of new RocketCDN free subscription:
    One the subscription is created we will detect this and clear the cache for the pages inside the list to get the CDN reflected.

Acceptance Criteria

[WIP]

Dependency Module

Metadata

Metadata

Assignees

No one assigned

    Labels

    epics 🔥For large tasks or features, broken into smaller issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions