edp963 / davinci

Davinci is a DVsaaS (Data Visualization as a Service) Platform
https://edp963.github.io/davinci
Apache License 2.0
4.92k stars 1.82k forks source link

每隔一段时间打开页面,需要重新加载JS很久 #2319

Open ScalaFirst opened 1 year ago

ScalaFirst commented 1 year ago

部署在服务器上后,用了nginx代理端口。现在初次打开/隔一段时间后打开,都有重新加载一遍JS文件,您有什么办法么?

Luooojunnn commented 1 year ago

配置 ngnix 缓存前端静态资源