Pages loading way slow when we have more images and skip cache layer. #75
Unanswered
srikanthgurram-17
asked this question in
Q&A
Replies: 1 comment
-
interesting - we have to come back to this in january, i've not much time left this year. some first thoughts/questions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In cloud instance we have an issue reported by our users that some of the pages loading way slow.
This page has more number of images eg: we have multilayout teaser each has 4 to 6 images and this teaser is configured 14 times (approx. 60 to 70 images in a page).
We are using AEMaacS as a headless solution. we built a json API over a sling exporter framework
We use wcm.io media handler to build the DM image rendition urls.
When we actually check the issue using profiling we understood that we are invoking many times media handler this is where exactly most of the time spent by the request. some of the facts during profiling check are as below:
For the actual serialization it just took few ms as you said
70% mainly for resolveRenditions(media, asset, mediaArgs)
resolving DAM renditions and resizing for media handler is where it spends most of the time. this is mainly happens inside wcm.io libraries.
Note: This is only happening when we skip the dispatcher and CDN and directly hit publisher.(only without caching)
CC @stefanseifert
Beta Was this translation helpful? Give feedback.
All reactions