You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/04/24 07:11:54 UTC

[GitHub] [echarts-website] plainheart opened a new pull request, #8: feat: support PWA

plainheart opened a new pull request, #8:
URL: https://github.com/apache/echarts-website/pull/8

   Try to support PWA for the website to enable offline browsing.
   
   One thing I'm not sure about is how we set a proper caching strategy for different assets. Please check out the [**runtime caching**](https://github.com/apache/echarts-website/blob/4f4091258e3757c19794d1c6b7120ba5faa18ed5/.scripts/pwa/vite.config.js#L35-L142) section and see if it's good.
   
   **Preview**
   
   ![image](https://user-images.githubusercontent.com/26999792/164962536-9dc9f11f-8bf6-4c24-858b-d8a6c6cf388a.png)
   
   ![image](https://user-images.githubusercontent.com/26999792/164962610-8c197b5a-851f-4975-81a8-572c99bcc131.png)
   
   


-- 
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@echarts.apache.org

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


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