I am caching data in the application that I am writing now and was wondering if it would be better to use a plain text file or sqlite database to store cached data? Thanks.
EDIT: I use Zend_Cache, so relationships are processed without the need for a database. I caching - these are xml strings if they are saved as regular files up to 60 KB in size.
Depends on the type of data you plan to store.
If the data is related and you want to get data based on this relationship ... then use SQLite.
, ... . SQLite.
- , /... - memcached, IO.
CACHE- ( ) , memcached?
60k , , , , .
, . text/xml sqlite .
Source: https://habr.com/ru/post/1718385/More articles:HttpRequest.GetHashCode () - how often do collisions occur? - hashcodeBroken binding using the Prism, Silverlight and ViewFirst approach - data-binding400 Bad Request when receiving a page with PHP Curl - postHow to get Javamail to clear the message cache? - javaManual crusher against serial input - inputRecommended updating Java source from 1.4.2 to 1.6.0_10? (skipping 1.5) - javaEclipse compilation problem - javaFileSystemWatcher does not recognize Excel SaveAs - c #Delphi 2009 - Handle when window is restored by double-clicking on SysMenu? - delphiAny way to insert a comment into a Tcl command? - commentsAll Articles