Wednesday, April 30, 2014

slow loading of website via cloudflare

From a few weeks back, our website at media.radiosai.org started loading slowly, even though we had enabled Cloudflare CDN. There were also some times when the site was reported as down, though the server did not show any outage. Checking with Internap, our hosting providers, found no issues at their end. Used MTR - "My TraceRoute" tool to check packet losses. Apparently 1% packet loss at their main router for UDP packets was acceptable.

Then checked with CloudFlare support. After traceroute checks, one of their recommendations was to set the expiresby attribute to one month. Checking that in our apache2.conf, found that it was set to just 1 second after access! Changed it to one hour, and site became fast again :)

No comments:

Post a Comment