Mark Topper
Mark Topper

Reputation: 347

Best way to store visits statistics with cache

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

Answers (1)

Johannes Staehlin
Johannes Staehlin

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

Related Questions