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
- 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
Description
Integrate the new RocketCDN free API into existing user flow.
Send req for creation of new subscription
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)
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