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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -