kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

Low performance compared to \yii\grid\GridView #222

Closed sokollondon closed 4 years ago

sokollondon commented 5 years ago

Page loads maсh slower when use \kartik\dynagrid\DynaGrid instead \yii\grid\GridView Especially if several grid on the page. Maybe add the ability to cache settings when storage is DynaGrid::TYPE_DB? Or somehow optimize

Libraries

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/77783827-low-performance-compared-to-yii-grid-gridview?utm_campaign=plugin&utm_content=tracker%2F2666393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2666393&utm_medium=issues&utm_source=github).
kartik-v commented 5 years ago

Should be a part of your app code design typically to handle display of many dynagrids that will run multiple DB queries running on your page (which should be optimized in your code). Also note that dynagrid does offer other storage methods like SESSION and COOKIE. Also caching typically should be handled via your yii2 app configuration and cache settings for DB for such use cases.

Am open to suggestions on anything that can be done in this extension - let know.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.