KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Cache on Pure PHP ? #3066

Open Long opened this topic on on Jun 2, 2023 - 5 comments

Long commented on Jun 2, 2023

How to use Cache package on Pure PHP ?

Sebastian Morales commented on Jun 5, 2023

You can try to use FileCache trait without installing Apc or Mem cache on PHP:

https://www.koolreport.com/docs/cache/file_cache/

If there's any issue let us know.

Long commented on Jun 6, 2023

Can you give me some example ? By the way, I'm not using class to retrieve data, I'm using like Pure PHP example :

https://www.koolreport.com/docs/integration/pure_php/

Sebastian Morales commented on Jun 6, 2023

In such case, your data is always in memory. What is your intended use for cache?

Long commented on Jun 6, 2023

I want to dealt with big data. For example, I have 1,000,000 record in database, and I want to get that amount without crashing server ? So tell me how ?

Sebastian Morales commented on Jun 6, 2023

For large database, it's recommended that you use server side processing with paging to display data. For example:

https://www.koolreport.com/examples/reports/datagrid/server_processing/

https://www.koolreport.com/docs/datagrid/datatables/#custom-attributes-serverside

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Cache