Answer the question
In order to leave comments, you need to log in
Rationality of caching to file?
There are 3-4 fields in the database (I use SQLite) with text. They change every 30 minutes, information is displayed on the site page (3-4 thousand times per hour). Is it rational to cache this information in a file and recreate it every 30 minutes? If not, why and in what cases is cache-to-file rational?
Answer the question
In order to leave comments, you need to log in
If there are 4 records in the database, then there is nothing even to look for.
Since you want to get confused with the file, just write to it right away.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question