You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "jeffreys-cat (via GitHub)" <gi...@apache.org> on 2023/04/23 11:23:58 UTC

[GitHub] [doris-website] jeffreys-cat opened a new pull request, #213: (OSS) Do not delete expired files

jeffreys-cat opened a new pull request, #213:
URL: https://github.com/apache/doris-website/pull/213

   # The Doris Website has two parts now.
   
   - ```index.html```: hosted by Apache and Apache CDN (which is based on Cloudflare)
   - ``` other resources `` like CSS, images, Javascript...etc hosted By SelectDB OSS and CDN (which is based on Aliyun/Tencent Cloud)
   
   # The Problem
   Our Deploy Action, push ```index.html``` to Apache and other resources to Aliyun, but two infra refresh CDN was not very in time.
   Our expectation is that When I release the index.html to Apache, Apache refreshes files to CDN, and the user can visit the new index.html from Apache CDN and load other resources from Aliyun CDN. But we found that users do not always visit the new index.html from Apache CDN, and old files from Aliyun CDN were deleted, the below error happened.
   
   ![img_v2_e6bcb7d8-d13f-40ac-a981-bc3c635d841g](https://user-images.githubusercontent.com/11832969/233834056-0d786483-6d66-4f5f-9372-7ab82b362917.jpg)
   
   # The Solution
   Do not delete Aliyun CDN files, While the user visits the expired index.html file, Aliyun can provide corresponding expired resources, So the website can works fine.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris-website] morningman merged pull request #213: (OSS) Do not delete expired files

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #213:
URL: https://github.com/apache/doris-website/pull/213


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org