当前位置:网站首页>How does easydss handle the problem that the sharing page cannot be opened due to cache problems?

How does easydss handle the problem that the sharing page cannot be opened due to cache problems?

2022-06-24 02:40:00 Tsingsee green rhino video

EasyDSS Live video / VOD service platform has been born up to now , We've done a lot of feature updates and upgrades , except EasyDSS Outside ,TSINGSEE All platforms of Qingxi video have demonstration platforms for reference , Users can enter the demo platform reading interface , There are also test versions for you to download and test , If you are interested, please contact us for testing .

There is a project team and we reflect on the EasyDSS The video channel sharing address cannot be opened , But you can watch it live , Pictured :

We don't see ts Error reporting of documents , So the main problem is caching . ad locum , If we try to operate in traceless mode , You can see the live broadcast .

So how to avoid this problem ? Both front and back ends can be solved by code , Front-end html Embedded in the page meta label :

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">

You can force the cache to be removed through these tags , The back end can also use code to solve this problem , With Java For example :

response.setHeader("Cache-Control","no-cache"); 
response.setHeader("Pragma","no-cache"); 
response.setDateHeader("Expires",0); 

Adding these can remove code at the back end , Let the page not cause cache problems .

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211026185655015q.html