WebPagetest Forums
keep alive and levrage browser cache on homepage - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: keep alive and levrage browser cache on homepage (/showthread.php?tid=12534)



keep alive and levrage browser cache on homepage - Hamed.T - 09-07-2013 11:30 PM

hi,
i got some error and i don't know how can i fix it:

Use persistent connections (keep alive): 90/100

FAILED - http://basics.ir/


and

Leverage browser caching of static assets: 90/100

FAILED - (3 seconds) - http://basics.ir/


can anybody help me Sad
all files is fine just home page have error!

test result link


RE: keep alive and levrage browser cache on homepage - pmeenan - 09-10-2013 12:08 AM

It's probably safe to ignore both of those. It looks like you set your html to be cacheable for a short time (presumably with a proxy like varnish) to deal with traffic spikes. WebPagetest is interpreting that as being a static file but it's not really.

It also looks like you have all of your resources off on another domain so the persistent connection is just an issue for the favicon which isn't really worth worrying about much. If you expect people to do a lot of in-site navigation then it might be worth enabling keep-alives on your proxy and to make sure they are long enough to still be open as people navigate through the site.