I use your add-on on every EE site I build nowadays, and I love it. But on my most recent project, I encountered a strange issue. I have a page that calls your addon to crunch and crop about 90+ images, 1x and 2x sizes for each. Granted, that is a lot of images, but none of them are very large.
So, with the S3 connection disabled, here is what I get:
- If I load the page while not logged in to EE and my static page cache is served, I get a response within about 100ms, and full page load in about 1.5s.
- If I load the page while logged in to EE (so my static page cache doesn’t get served), or if I clear all caches and load the page while not logged in to EE, it starts loads in about ~5.5s and is fully loaded by about ~6.5s.
Those are times I can deal with. The vast majority of visitors will get pretty instant page loads due to the static caching, and occasionally a visitor will have to wait 5 or 6 seconds.
But when I have S3 set up:
- If I load the page while not logged in to EE and my static page cache is served, I get a response within about 100ms, and full page load in about 1 to 1.5s. Same as before.
- If I load the page while logged in to EE (so my static page cache doesn’t get served), or if I clear all caches, and load the page while not logged in to EE, it loads in about 40 to 50 seconds and is fully loaded about a second later!
All of these images have been processed by CE Image already, and the processed versions are already saved on S3. Is there something I’m doing wrong, or have configured wrong to cause this delay? Please help, thanks!
|