I build a new addon that just shows a page with some data fetched from a table.
The data is changed extern sometimes every two minutes and also sometimes not changed for hours.
Now i have a select from to fetch the data and show it. In php i would just open a text-file, save my data, and fetch it inside the page to show.
How can i do, how should i do caching in XF2, please? Is there any info or an add-on to learn from?
The data is changed extern sometimes every two minutes and also sometimes not changed for hours.
Now i have a select from to fetch the data and show it. In php i would just open a text-file, save my data, and fetch it inside the page to show.
How can i do, how should i do caching in XF2, please? Is there any info or an add-on to learn from?