How to...
-
- Site Owner
- Posts: 104
- Joined: Tue, 19 2004 Oct 23:21:02
How to...
...shave a good 3 seconds off of a page load...
Use a cache.
My blogroll on the right is a rather dynamic one, as it reads the RSS feeds directly. This can cause problems though, as with each link, it requires a connection to read the RSS, then parse it, etc. With six links on the blogroll, an average pageload was pushing three seconds. Yipes!
So I've finally added a cache, so the blogroll can update just once an hour. This takes pageload times from nearly 3 seconds down to a tiny 0.003 seconds. How's that for efficency?
Use a cache.
My blogroll on the right is a rather dynamic one, as it reads the RSS feeds directly. This can cause problems though, as with each link, it requires a connection to read the RSS, then parse it, etc. With six links on the blogroll, an average pageload was pushing three seconds. Yipes!
So I've finally added a cache, so the blogroll can update just once an hour. This takes pageload times from nearly 3 seconds down to a tiny 0.003 seconds. How's that for efficency?
-
- Site Owner
- Posts: 104
- Joined: Tue, 19 2004 Oct 23:21:02
NeoThermic wrote:You've finally got a blog? Well, link and I'll blogroll ya
Techie-Micheal has two blog's
http://techie-micheal.blogspot.com/ & http://techie-phpbb.blogspot.com/
-
- Site Owner
- Posts: 104
- Joined: Tue, 19 2004 Oct 23:21:02
stu15 wrote:NeoThermic wrote:You've finally got a blog? Well, link and I'll blogroll ya
Techie-Micheal has two blog's
https://techie-micheal.blogspot.com/ & https://techie-phpbb.blogspot.com/
Thats the main problem. I'll only link one, so he's gotta decide witch
NeoThermic
http://techie-micheal.blogspot.com/
I'm going to end up moving both to my domain, I'm just not sure how I want to do things.
I'm going to end up moving both to my domain, I'm just not sure how I want to do things.