It is said that a watched pot never boils. This, of course, is patently untrue. However, the lack of truth in the non-boiling assertion doesn’t change the fact that staring a pan of water, waiting for it to boil, will seem like an awful lot longer than the five minutes it actually takes. The same goes for starting applications, especially those with a lot of ‘work’ to do during the startup sequence, such as MyOffice. With this in mind, we’ve tried decidedly hard to get MyOffice to fire up as quickly as possible. For most accounts, the startup time is well under a minute, but there are certainly a few users who experience pretty long startup times. With that in mind, here are few tips to speed things up a lil’ bit.
MyOffice Offline Data - Your best friend, or your worst enemy?
The ‘master’ copy of your data is held on our server, and if you’re part of a large account, that’s potentially an awful lot of data. If we had to shift a large lump of this every time you fired up MyOffice, not only would our bandwidth bill be absolutely hair-greying, but the startup times would be completely unacceptable. Consequently, we do our utmost to ensure we shift the absolute minimum amount of data we can each time MyOffice is started up.
Taking appointments as an example, here’s roughly what we do at startup…
We start by loading the local copy of your appointment data from the ‘cache’. This ‘cache’ is basically a dinky copy of your data, held in the ‘MyOffice Offline Data’ directory (usually found in your ‘My Documents’ folder).
Once we’ve loaded this data, which is ‘up to date’ as of the last time you ran MyOffice, we then ask our servers for a list of the dates and times at which any appointments you’re allowed to see (i.e. appointments in your diaries) last changed. MyOffice then compares the dates on the appointments in the cache it keeps on your machine, with those it’s just got back from the server, thereby working out which specific appointments it needs to get the full details of from the server in order to get you a completely up to date copy of the data.
Having worked out which appointments it needs, MyOffice then asks our servers for only the specific appointments it needs, downloads these appointments, and writes them in the local cache.
So, what are the implications of all this, and, more to the point, why on earth should you care?
Well, if MyOffice is starting up nice and quickly for you, you’ve got no reason to care. As with so many things in life, if it ain’t broke, don’t try and fix it. If, on the other hand, MyOffice seems to be on a bit of a go-slow, here’s a few pointers as to how to speed things up.
‘Go-Faster Stripes’ for MyOffice
Almost without exception, there are only two possible ’states’ the MyOffice cache can be in. Either you’ve just installed MyOffice for the first time, or perhaps removed your offline cache for some reason, and therefore have no local copy of your data, or you’ve got a virtually up to date cache, with only a few updates needed at startup.
To start with, let’s look at the situation where there is no existing cache. The good news here is this isn’t the ‘normal’ situation. As long as you’ve got a working cache, you’re only going to suffer the ‘rebuild the whole cache from scratch’ situation once in a blue moon. Okay, if you’ve got pots and pots of data in your account, it might take a little while, but once it’s done, it’s done. Unless MyOffice is failing to start up completely (in which case, contact the chaps at support… www.myoffice.net/support.aspx), the best bet is not to worry too much about the startup time when MyOffice is creating a new cache, as the next time you run MyOffice it’ll be quite a bit quicker.
Once we’ve got a full cache, we can now try and make sure it’s working as quickly as possible. The first thing to consider is whether anything’s getting in the way of MyOffice reading it. If you’re read my articles on email, you can probably guess what’s coming next… yes, security software.
How much Security do you actually need?
Now, when it comes to reading ’stuff’ from disc, ‘active’ anti-virus and anti-spyware software likes to get in and have a peek at any data that’s being read. This, on balance, a good thing. It (hopefully) prevents any nastiness that may have found it’s way onto your system’s storage devices from being allowed to do it’s evil deeds. However, as with any form for precaution, it’s possible to go a bit too far.
One of the great curses of working with computers for a living is, if you admit to what you do during the day, it’s almost inevitable that someone’s going to ask you if you could “pop over next week and have a look at mine, it’s playing up”. It’s very hard to say no. Then again, the odd five hour knuckle-skinning experience can prove quite useful from a learning perspective, even if it does come a poor second to a beer with the missus.
To cut a long story short, the two most common problems I’ve seen on home PCs (and, rather worryingly, a number of office PCs) are effectively ‘not enough security’ and ‘too much security’. A good trawl through our support records seems to have turned up much the same. Let’s start with the most dangerous - ‘not enough’.
Quite simply, there are a lot of people out there who want to do dastardly things to your PC. Some want to pinch your personal details, some want to pop up endless adverts for stuff you almost certainly don’t want, and others merely want to make mischief. The first step in preventing this is to make sure you’ve got some decent security software installed (a virus checker and firewall at least), and that said software is kept up to date. How does this affect MyOffice? Well, the most obvious effect you’ll see of running MyOffice on virus and spyware loaded PC is that of performance. With all those potential ‘nasties’ fighting to use your PC’s processor, disc drives, and maybe even your internet connection, the applications you’re trying to run (not just MyOffice) will run an awful lot slower. So, if your PC is devoid of decent security software, and you’re suffering from a bit of strange PC behaviour, and your machine’s running depressingly slowly, I’d definately recommend getting some.
The other extreme we see from time to time is what I think of as the ‘Five Condoms Effect’, and has a habit of making an appearance on PCs used by small businesses. To cut a long story short, it’s not uncommon to find PCs with absolutely stacks of security software installed. After all, if one firewall and one virus checker makes you safer, isn’t it logical to assume that three of each would make you three times as safe? Okay, yes, there are exceptions to this, but in general, no it doesn’t. One decent software firewall, and a decent virus and spyware checker is all you really need. That said, what could the harm possibly be in having loads of security software running? Quite simply, it can seriously slow your machine down, and in some cases, cause stability problems. Whilst I’m absolutely, definately, and utterly not going to recommend removing bits of security software will-nilly, I would certainly recommend taking a good long look at your setup if you’re having performance problems and have an awful lot of security software installed.
Is the cache in a sensible location?
By default, MyOffice trys to make it’s cache in the ‘MyOffice Offline Data’ folder in your ‘My Documents’ folder. Why do we do this? Well, it’s the place we’re mostly likely to be allowed to create it. For very sensible reasons, at awful lot of PCs are secured in such a way as to prevent us from writing the cache to other locations, so by default, ‘My Documents’ is it.
Okay, having said that we’ve put your cache in your ‘My Documents’ folder simply because it’s the mostly likely place we’d be allowed to put it, the next question is ‘why is it not necessarily the best place to put it?’. Well, that comes down to two factors - you might not want it in ‘My Documents’ for various reasons, or your ‘My Documents’ might live in a ’slow’ place. With regard to the first reason for wanting to move the cache folder, that’s absolutely none of my business. The second (okay, it’s also none of my business, but I might at least be able to help a bit) sort of is.
The reason we want the cache held somewhere we can access quick is pretty self-explanatory really. MyOffice reads a lot of data from it at startup, and writes small amounts of data to it pretty regularly when you’re using MyOffice. Consequently, if we have the cache set up to work somewhere that can be got at quickly, it’s going to improve MyOffice’s performance. So what constitutes a ’slow’ place to have your cache? In my opinion, the answer to that is “anywhere other than on your PC’s hard disc(s)”. It’s not uncommon for ‘My Documents’ folders to be located on your server, and whilst that’s generally a Good Thing for most of the stuff we put in our ‘My Documents’ folders, it’s definately not the case for the MyOffice cache. The same can also be said for ‘My Documents’ folders held on external hard discs (okay, they can be pretty quick, but they also fall asleep from time to time), and other forms of media that aren’t designed to be accessed quickly.
So, how on earth do we go about moving the cache, and where should we move it to? That, at least in part, is the easy bit. Firstly, we need to work out where we’re going to put it. If pressed for a recommendation, I’d suggest a folder in the root of whichever hard disc drive you put data on. Eh? Well, for most of us, that means “make a folder on your C: drive, and use that”, but for some it may be a drive other than C. Once you’ve made a new folder to put the cache in, make sure MyOffice is closed, and open ‘MyOffice.NET Client Configuration’ from the ‘MyOffice.NET’ folder in your Start Menu. In the ‘Offline Files’ tab, you’ll see a checkbox called ‘Store Offline Cache in the default location’, and a text field called ‘Cache Directory’. If there’s a check in the checkbox, then MyOffice will be using your ‘My Documents’ folder for it’s cache. If not, then it’ll be using the location shown in the text box. To change where you store the cache, simply remove the check from the checkbox, click the ‘Change Cache Directory’ button, and select the folder you to move the cache to in window that pops up.