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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -