Bootstrap Table Cache缓存数据

<table
  id="table"
  data-toggle="table"
  data-height="460"
  data-cache="false"
  data-url="json/data1.json">
  <thead>
    <tr>
      <th data-field="id">ID</th>
      <th data-field="name">Item Name</th>
      <th data-field="price">Item Price</th>
    </tr>
  </thead>
</table>

缓存后台返回的数据,在请求参数不变的前提下,对数据库返回的数据进行缓存,这样可以减少服务器请求,降低服务器压力。

Bootstrap表格插件Bootstrap Table配置教程 vue.draggable