SSWConsulting / SSW.Website

Generator for ssw.com.au
https://www.ssw.com.au
Apache License 2.0
7 stars 5 forks source link

☁️ Migrate Front Door to Cloudflare #2714

Open amankumarrr opened 1 month ago

amankumarrr commented 1 month ago

As per my conversation with @wicksipedia and @chrisschultzssw, we are going to place Cloudflare in front of Front Door. We will be testing this on the tfs365.com domain and, upon successful testing, will roll it out to production. This approach aims to reduce downtime during the DNS cutover and ensure a smooth migration from Front Door to Cloudflare.

Tasks:

amankumarrr commented 4 weeks ago

@wicksipedia @SSWConsulting/ssw-website-maintainers

@chrisschultzssw and I have successfully placed Cloudflare in front of Front Door for our staging domain tfs365.com. We've observed a significant improvement in page speeds, thanks to Cloudflare's caching capabilities.

Here are the comparisons:

Image

Figure: Page speed insights for mobiles

Image

Figure: Page speed insights for mobiles

amankumarrr commented 4 weeks ago

@wicksipedia @SSWConsulting/ssw-website-maintainers

Impacted Routes:

Unimpacted Domains from Front Door:

⚠️ Note: Once we place the /ssw route on Cloudflare as a trigger for our worker, v1 will not be accessible afterwards. Ideally, we should do this once we are confident enough to turn off the VM.

amankumarrr commented 3 weeks ago

@SSWConsulting/ssw-website-maintainers

I'm currently blocked on completing the remaining redirects since @chrisschultzssw needs to plan the migration for ssw.com.au. According to my conversation with him this morning, he anticipates being able to handle this planning and migration later this week.

amankumarrr commented 3 weeks ago

@wicksipedia @bradystroud

We are currently blocked. As discussed with @chrisschultzssw , he needs to get @ozdemir-mehmet’s approval on the migration plan. If he’s satisfied with it, we will likely proceed with the migration on Monday.

amankumarrr commented 2 weeks ago

I have created a rule for the redirects - https://www.ssw.com.au/rules/handle-redirects/ and modified this rule for the CDN - https://www.ssw.com.au/rules/do-you-use-cdn-for-js-files/

amankumarrr commented 1 week ago

@chrisschultzssw

I have created a new issue for the remaining domains - https://github.com/SSWConsulting/SSW.Website/issues/2781