I've been wondering about this before. With the -nearly unlimited, at least for this purpose- storage the N900 has, a lot more data can be stored, even further than 28 days...
A few of us have looked into injecting agps info into the GPS chip directly, haven't figured it out and there's no API available. The best you can hope for is about 4 hour validity of off line data after getting a lock.