Reputation: 347
What is the best way to store statistics for a threads with caching?
What I actually need is to store how many visits are daily on the difference threads on my community.
But it so the cache is secured and it should be possible to later put it into the database.
Thanks in advanced.
Upvotes: 0
Views: 205
Reputation: 3720
What do you mean by "But it so the cache is secured..."?
The simplest way would be to use a mySQL Database. It's simple to use and secure. If you don't have a database, you could also store the visits/views in a plain text file or multiple text based files.
Upvotes: 1