do you use some image resizing/cropping in the templates?
image manipulation on first page load takes time
Yes - but the resampled files do all exist. This is a pretty grunty AWS server btw
so what is the actual problem? the first load or the subsequent load or both or… ?
and all loads after that are... 200ms?
and you say the profile does a lot of existence checks... do you see it also regenerating said files?
i set up a test script on a cloned server - looping through 3000 files in assets/ doing a simple file_exists & getimagesize. This takes around 30secs on initial load, then 20ms on subsequent ones