Caching images from spatie library
Hi Guys, I have problem with performance related to delivery a lot of images from spatie media library.
Our client has portal where is about 10M photos where in gallery available for logged users. And the major problem is with business model because normally about 50% of them is blurred (user indyvidually can unblurr photo in gallery by internal currency payment) ... this by default blurred or unblurred photos are changed by script few times a day.
For now when we have about 2K request per second (one request getting one page of results - about 20 images) our server began to die ... but our client has plan to increase number of parallel clients 2-3 times.
So Im start thinking about some caching options but after few hours Im on start position and I have any idea how can we figure out this case.
Maybe somebody of you have some idea?
BTW we using cloud flare
Please or to participate in this conversation.