New caching to make TWF faster (please read)

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

I've just installed a Drupal module called Boost. It should make the site a lot more resilient, so less crashing. Smiling

You might need to log out or log back in again to make it work properly. So if you keep logging in and it's not working, just log out and log back in again.

Thanks, and sorry for the inconvenience (but it should help the site a lot). Smiling

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

What I notice though is that sometimes logging in takes too long, or opening the threads. It may be an issue at my end, but I feel theres a slight lag...

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

It's definitely slower than before. It's not an issue at your end, am spending quite a bit of time tweaking the server, will get it right eventually. If you've been having problems in the last couple of hours it's because I've been putting the server under seige. It seems to be doing well. Smiling

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I did encounter some errors, although I knew theres something being tinkered with at the back end. I checked again 2 hours later and it's bit quicker than before. One thing bugging me though is that sometimes the posting time is erratic, like I posted something now, then someone posts after me 30 minutes later, his post should be after mine right? Sometimes it appears before mine. Also I think it would be nice if the post time is set at 12 hours rather than 24 hours scale... Wink

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

demonhale wrote: like I posted something now, then someone posts after me 30 minutes later, his post should be after mine right?

Ahhh, that'll be the threading. Think there might be a small CSS glitch which is stopping the first post being indented properly, so the threading might not have been obvious. Smiling

Threading is good, it encourages spin-off conversations within the same thread. More conversation is good.

demonhale wrote: it would be nice if the post time is set at 12 hours rather than 24 hours scale

Maybe we should do a poll on that. It's a personal preference really, wait a few days for people to realise the site is back up and we'll run a poll. Smiling

a Padded Cell our articles site!

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

demonhale wrote: Think there might be a small CSS glitch which is stopping the first post being indented properly

There, fixed it. That's probably broken some other part of the site now, knowing my luck! Laughing out loud

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Seems to be really quick now, also I just noticed the nice smiley and attachment ajaxy effect...

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Like now, your posts came late but is inserted in between my posts... And I have to let you know, somewhere in your server theres a freakin worm named a Nimda Worm... It saves a session store on my machine from FF... just popped up now..

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

What post were you on when this happened? We did have a problem where someone posted a link to a Website that had been taken over by virus distributors, could it have been that (or a similar post)?

I'll have a look through the files directory and ensure no-one has uploaded anything bad. Thanks for letting us know. Smiling

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

This page, it keep bugging to store a session, then I came back to rescan pages and not unless I stay logged in for about 10 minutes that it starts warning on the worm again.

Oh and it seems to be on other pages as well, I just can't pinpoint it, it must be on some shared folder or something...

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

This virus problem is really odd. Am sure there's nothing in this page that would try to download a virus, maybe it's the new caching system, but that only kicks in for logged-out users. Very odd! Is anyone else having this problem? What virus checker are you using Demonhale?

Nimbda's a relic from 2001. It only targets Windows machines, so if it is present on the server, we must have been hacked. Confused

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I'm using NOD32 and I was looking at just this page at that time and it kept warning me for about 20 times it was quarantined. Even if I transfer pages inside TWF. Now, if I close TWF and open some other site, it stops giving me warnings.

I checked again today, it seems to disappear as quickly as it came. Are the Ads hosted in here or the clients? Sometimes it's the iframe Ads...

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

The ads aren't served in iframes, they haven't changed since the old TWF. I'll try that virus checker out at some point, see what the heck it's talking about. Smiling

Boost also adds some HTTP headers that seem to stop caching:

Header add Expires "Sun, 19 Nov 1978 05:00:00 GMT"
Header add Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
'

Wonder if it's this the virus checker is getting upset about.

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I think its related to a cache, since I traced it back and it happens when FF tries to store a cache of the page. So it's possible it's with the Boost system. However I logged in at separate intervals today and theres no worm warning so far...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.