jwenjian/visitor-count-badge

Count start from 0 due to heroku free plan will sleep the app

Closed this issue · 1 comments

Since current app is deployed on heroku free plan , if no request in 1 hour, the app will be sleeped.

All the cached count will be lost and start over from 0 again.

Need to persist the count instead of cache in memory.

Fixed by integrate with postgresql to persit the visitor count info into database