5 ms·
For me, it spends about 1 second getting the page, then it spends about 1-2 seconds each re-downloading the js files: jquery, jquery-watermark, shared, and shar
by henrikschroder 16y ago
For me, it spends about 1 second getting the page, then it spends about 1-2 seconds each re-downloading the js files: jquery, jquery-watermark, shared, and shared-jquery. They're all loaded sequentially. The rest of the assets seem to be properly cached.
- vog 16y ago> The rest of the assets seem to be properly cached. I don't think so. See my other comment. In short: The main picture changes on each request so it can't be cached properly. The cache parameters of the assets force the browser to reload them on each request, although the server then just responds with a "304 Not Modified". This can still be improved by making the browser not reloading them in the first place. Finally, a first time visitor doesn't have anything in the cache, so the assets should be small and well-compressed, which they aren't.
- thinkcomp 16y agoThis is correct from what I'm seeing. We know about some issues with the Apache configuration that seem to be delaying the JavaScript downloads, but otherwise we actually have spent a fair bit of time optimizing things. To clarify, I really appreciate everyone's feedback here, I just don't think it's a page problem, I think it's a DNS or server configuration problem.
- henrikschroder 16y agoWell, seems like you fixed the caching of the js assets at least. That made the pages load in one second for me, instead of six seconds. Quite an improvement! :-)