150 reputation
18
bio website expletiveinserted.com
location Seattle, WA
age
visits member for 4 years, 5 months
seen Sep 25 at 0:09

Apr
1
awarded  Notable Question
Apr
3
accepted What might be causing this intermittent PHP stalling event?
Apr
3
answered What might be causing this intermittent PHP stalling event?
Mar
29
awarded  Commentator
Mar
29
comment What might be causing this intermittent PHP stalling event?
If only. And yes, I don't think xdebug on such an intermittent issue is practical in production.
Mar
29
revised What might be causing this intermittent PHP stalling event?
added 30 characters in body
Mar
29
comment What might be causing this intermittent PHP stalling event?
Yes. There are no errors in the logs (I'll make that more clear above). No complaints that anything is running out of memory (the PHP memory limit is currently 128MB). Could an OOM happen silently and stall execution?
Mar
29
asked What might be causing this intermittent PHP stalling event?
Jan
21
awarded  Popular Question
Jul
24
awarded  Popular Question
Jun
22
awarded  Tumbleweed
Apr
26
comment Should AWS CloudFront *increase* load time for infrequently accessed files?
You are correct that the cache-control influences how long the content is kept at the edge. The TTL is a separate matter though. TTL controls the caching of the IP address assigned to the domain name. So regardless of whether the static file is cached at the edge or not, the first time a server sees the URL of the file it has to find the IP address of this domain. With 1-day TTL, it is likely that a nearby server has this info in its DNS cache. With a 5 minute TTL this is much less likely and a complete round trip to my origin server is required (not for the file, but to resolve the URL)..
Apr
19
comment Should AWS CloudFront *increase* load time for infrequently accessed files?
I have updated the question with another potential explanation for the perf issue I saw, which is that I had left the TTL setting at the low setting of 5 minutes, but when switching back to 12 hours I don't think I'm seeing these occasional perf issues as often.
Apr
19
revised Should AWS CloudFront *increase* load time for infrequently accessed files?
added 437 characters in body
Apr
14
comment Should AWS CloudFront *increase* load time for infrequently accessed files?
Very useful info. Thanks.
Apr
14
accepted Should AWS CloudFront *increase* load time for infrequently accessed files?
Mar
27
comment Should AWS CloudFront *increase* load time for infrequently accessed files?
Thanks again. That cache-control link isn't relevant to my situation because I'm using a custom origin server, not s3. But the principal applies and I do have far future expires headers set. BTW, Amazon's docs do say that content lives in the cache for 24 hours, but my experiments indicate something different.
Mar
27
comment Should AWS CloudFront *increase* load time for infrequently accessed files?
Thanks Jesse - very helpful. The point regarding scaling is well taken. And we have sufficient traffic for it to make a big difference. I would still love to know the caching policy though. I have found an enormous amount of info about HOW to set up the CDN and very little about its characteristics. I'm wondering, for example, whether I should exclude (from the CDN) old content that is accessed very infrequently.
Mar
26
awarded  Editor
Mar
26
revised Should AWS CloudFront *increase* load time for infrequently accessed files?
added 52 characters in body