How to Cache RAND() random images in PHP MYSQL -
How to cache rand () random image in PHP MySQL
Use cache for 5 seconds For refreshing your changes images,
Keep images in constant storage (MySQL, Memory, Excat When they were put in storage.
When you read them, determine whether the storage cache is older than the limit (in this example, 5 seconds) and if it is, rebuilding before reading this picture.
Comments
Post a Comment