Introducing Lady LorReign| Author | Post |
|---|---|
| Lenny Voyeur Senior Member It's the ass, stupid! 8504 Posts 2/07 | |
| Mass Facialties Deactivated User "Facialized Vol. 7" 2021 AVN Awards Winner: Best Oral Movie 9308 Posts 9/13 |
|
| Drew Black broken crankshaft 8009 Posts 9/99 | |
| Drew Black broken crankshaft 8009 Posts 9/99 | I store all boxcovers, pornstar headshots, avatars user image uploads in Varnish cache instance in the front-end web server. All that data is stored in the server's memory which is much faster than fetching from a drive somewhere in a server on the network. It's a little over 200GB of in-memory data at the moment. The prior cache purge method I was using for avatars was taking too long to complete. The CDN would re-fetch the image before it was purged from Varnish locally. The CDN would get stale data/old image which would then be cached at the CDN for a week or more. The images displayed in the forum come from the CDN. When you upload an avatar the image you see comes directly from the server that processes the uploads and avoids the caching layers (Varnish and CDN). That's why you see that the upload was a success and the image exists on our end. All of these layers of caching are part of what enables ADT's average page load speed to be under 2 seconds worldwide. |
| Mass Facialties Deactivated User "Facialized Vol. 7" 2021 AVN Awards Winner: Best Oral Movie 9308 Posts 9/13 |
| Use the code below to link to this topic or a specific post. |
| URL of this thread |
| Link to this post with HTML |
| Link to this post with Forum Code |