Dashboard widget is getting called 3 times on each request.
I have a new products table widget on the dashboard. that simply query products of the last 7 days. but I found that when I load the dashboard, it's getting called 3 times on each dashboard request. As a result, this widget sends the same query 3 times to the database! how can i disable widget rerendering? also is there any way to cache table data?
0 Replies