Stop The Scrolling Header | Enable the Scrolling Header

Firefox 3

News:  

What Are You Reading?

Attention College Students!
Username:    Password:      Log me on automatically each visit    
Faries
Faries

by TNCowgirl in Storybooks
Young Writers Society Forum Index -> The Information Desk » Information Desk Archive

This thread was created on August 26, 2006
Post new topic   Reply to topic
Digg It Del.icio.us


Speeding Up YWS Goto page Previous  1, 2
Topic ID: 9848
View previous topic :: View next topic  
Author Message
Nate   View This User's Portfolio
Chimpy
Site Admin

169
Gender: Gender:Male
Age: 25
Joined: 15 Nov 2004
Posts: 5121
Reviews: 169
Country: USA
405 Points

PostPosted: Sun Aug 27, 2006 5:15 am    Post subject: Reply with quote

Aha! Fixed it, I think. Did a little research, and found how to write the cache for the recent topics block to a specific file. However, that file gets deleted every time someone makes a new post. Then that forces a new cache file to be created.

In any case, what that means is that every now and then, the front page will still take some time to load as the server will be busy writing the new cache. But most of the time, the front page should load in a split second.

_________________
Site Admin & Webmaster

www.youngwriterssociety.com/ywsblog

Do You YWS? If You Do YWS, Put "Got YWS?" In Your Sig!
Back to top
View user's profile Send private message Visit poster's website AIM Address
David Guinness   View This User's Portfolio
Speaker of the Forum

114
Gender: Gender:Male
Age: 17
Joined: 16 Dec 2005
Posts: 662
Reviews: 114
Country: USA
300 Points

PostPosted: Sun Aug 27, 2006 2:34 pm    Post subject: Reply with quote

That's wonderful, Nate. I've tested the front page twice just now. The initial load to the domain took about 10 seconds, and the second time took 6 seconds. Both times the loading was very clean- Although it took a little longer than you'd like, everything appeared on the screen at the same time, instead of each image file loading up separately.

BTW: Individual posts, especially ones from the View Posts Since Last Visit screen, load up lightning fast. Smile

_________________
David Guinness
Back to top
View user's profile Send private message MSN Messenger
Nate   View This User's Portfolio
Chimpy
Site Admin

169
Gender: Gender:Male
Age: 25
Joined: 15 Nov 2004
Posts: 5121
Reviews: 169
Country: USA
405 Points

PostPosted: Mon Aug 28, 2006 4:26 pm    Post subject: Reply with quote

Some info...

The front page caching has been turned off until I figure out how to make the recent topics list work properly. The method I worked out and described above actually increase load times.


User profiles were another area that took a long time to load, so I went through the code and discovered it was due to the "Who's viewed my profile" addition. Getting rid of that reduces load time from 7 seconds to .2 seconds. If you liked "Who's viewed my profile," it's gone now. I'm not entirely happy with that myself, but I much rather have something load immediately than twiddle my thumbs.

_________________
Site Admin & Webmaster

www.youngwriterssociety.com/ywsblog

Do You YWS? If You Do YWS, Put "Got YWS?" In Your Sig!
Back to top
View user's profile Send private message Visit poster's website AIM Address
David Guinness   View This User's Portfolio
Speaker of the Forum

114
Gender: Gender:Male
Age: 17
Joined: 16 Dec 2005
Posts: 662
Reviews: 114
Country: USA
300 Points

PostPosted: Mon Aug 28, 2006 9:54 pm    Post subject: Reply with quote

Well, perhaps it's a good thing that the profile thing's gone. I don't really want to know if a certain member has viewed my profile 763 times. Very Happy

Hm...Even without the front page caching, it's still loading up much faster than it used to.

_________________
David Guinness
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
This thread was created on August 26, 2006
Post new topic   Reply to topic
   Young Writers Society Forum Index -> The Information Desk » Information Desk Archive All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
This thread was created on August 26, 2006

Graphics By Bobo | YWS Sword & Shield Logo by Bobo
Bartemius says, Lots of times you have to pretend to join a parade in which you're not really interested in order to get where you're going. - Christopher Darlington Morley
Contact | Memberlist | Copyright Policy | YWS Store | Site Map
Facebook |  Goodreads |  Live Journal |  MySpace |  Wikipedia

© 2004 - 2008 The Young Writers Society