" /> Movable Gary: May 2005 Archives

« April 2005 | Main | June 2005 »

May 16, 2005

Ignore this Movable Type dynamic cache test

Testing a slight problem concern with posts and dynamic templates in Movable Type 3.16. They don't seem to be resetting the cache properly. Actually it's working to some extent, but it does take a while (close to an hour) for some of the pages to update; see below for more information.

There is something odd with cached dynamic pages in Movable Type 3.16, I'm not sure exactly what it is yet. When dynamic pages are created they are supposed to remain in the cache so they don't need to be created again. But when I view the pages after rebuilding (reposting/updating) a page it seems there is a delay (minutes?) before it rebuilds them. This isn't a problem (for me) if there is a delay (even if it's minutes) it's just hard to see what's going on with them. For my test it took just over an hour and I don't know why they finally changed (no pings, comments or attempted spamming in the logs).

WARNING - GEEKY CONTENT FOLLOWS:
I created this post at 6:47 pm and I later modified it (at 8:40 pm and also 8:55 and 9:15) and the changes are not showing up (immediately) on the category or date archives. I even tried changing the timestamp (to 9:18) but it didn't seem to speed anything up. Eventually they all changed (9:42, 9:47 and 10:07 were when the 9:15 changes propagated through; but that doesn't mean the other changes propagated around before then).

It didn't seem to make a difference when I did a new post (I did one 15 minutes ago and it still doesn't show up on the same date archive pages listed above). Still a delay before those changes propagate around. Last night when I noticed this I did delete the cache and templates_c directories, it didn't seem to help anything (other than everything rebuilding automatically the next request). This last update is posted around 10:40 pm...

So it's hard to test when pages rebuild. I'm not sure if it's with every new post or just with posts relevant to those pages being modified. Anyone know?!?

Another interesting (but unrelated) point with the cached dynamic pages is my pages (used to) say what your search terms were, like “It looks like you came here searching for Veronica Mars” but it wrote it to the cache so even when someone came to the page looking for something else or even by directly clicking it still reported that “fact”. Very interesting. Now all my pages say at the bottom when it was created so if it's not the current time, I can see how long it's been cached. This is probably affecting my search results record keeping. But it should still give me a good idea of how people find my site.

Hmm... It just hit me that I do some PHP to make sure non-content related stuff doesn't go into the search engines (ads, comments and my sidebars) I bet that doesn't run live anymore (actually if a search engine grabs a page first it'll look all mucky for everyone else, I'll probably remove that code). This is not to cheat the search engines, it's to get them to get the data that this page was published for.

May 15, 2005

Good-bye Spam

So in the past eight days, MT-Blacklist stopped 1447 pieces of spam headed for my web site. It also prevented six duplicate posts (people hitting submit twice). That's pretty great!!

While I scroll through the logs, it's still a lot of “stuff” to sift through. My big question is: Has anyone tried to post in the last eight days and the system refused to let you post? Please e-mail me if you've recently had any problems.

I've been using MT-Blacklist for a while now, but I did the upgrade last week since I had upgraded MovableType. So I'm just worried/concerned about any problems since then.

May 4, 2005

Upgrade to MovableType 3.x

I think I'm going to upgrade my site (starting tomorrow or Friday). So if there are any technical problems with comments or searching that's why. It might even cause some viewing problems but those will be temporary since I can at a minimum push the pages (or at least the main page) back on-line.

I'm not worried about the upgrade in general, I'm more worried about some of the plug-ins that I use might not work anymore and that will cause problems with rebuilds.

Does anyone know if I can downgrade back down to 2.661 if it doesn't work okay? My one big fear is my provider (1and1) doesn't let scripts run for more than 12 seconds and I'm getting pretty close to that currently and if this runs slower it could be a problem. I think it's only because I've got so many posts in my archives ( I think that's where it's choking). Other than that I love 1and1, very configurable and the prices are good.