Monday August 30, 2021; 1:53 PM EDT
- Caching causes weird behavior for new users. This is a longish note because people will have to do something if and when their blog.opml outline gets large. The story follows...#
- Previously, if you deleted a day from your blog.opml outline, the day would still be part of the home page of your blog. This clearly was not good behavior. Now when you delete a day in your blog, the day will not appear in the rendering. That's the change, simple enough. Almost like fixing a bug, but not really. If you're expecting to be using Drummer for blogging for a while, as it appears some of you are, please read the next parts carefully.#
- This approach would not work for my blog, Scripting News, because I have to remove stuff from the outline to keep its size manageable. I do it every month, start with a clean slate. But when I do that there is no change in the home page of the blog. Tomorrow, on the first day of September there will still be 25 days on the home page. This is done using a cache that Old School maintains. #
- Since prior to Drummer I was basically the only user of Old School, everything was cool. Now I can get the behavior I need by setting a config option called flOldSchoolUseCache and setting it true. Then (hopefully) Old School knows to use the cache (there could be a bug in the implementation). This will get a test on September 1 when I do the rollover. I will hold my breath when doing it. 😀#
- Someday if you have too much in your outline and Drummer starts getting slow or you want to reduce clutter, just add the flOldSchoolUseCache head-level attribute to your blog.opml file, but not before then because you'll starting seeing days you deleted come back to life.#