Jaredc brought up a great idea about storing a page’s genealogy as a column in the table. Remon likewise had a great idea to "automate" more of the cache handling by comparing timestamps. Both of these ideas are a way I’m referring to as "pre-computing" things that normally would have to be queried and then compared or iteratively looped through to determine how to handle situations.
NEW! Handles database failures gracefully -- the robust MODx caching system keeps your site up when your database fails. This means that sites deployed on potentially overloaded shared servers can offer a better end-user experience by never showing database failure messages on the front end (but they’re always logged on the back end)!
How would that save cycles or DB queries... does it insert overhead anywhere if it’s not used?
We could tear out the export site to HTML all together.
What would be really cool too would be if you could have an automatic friendly erorr message that would show up in the place of the "no cache" snippets.Can you explain a bit more what you mean here, please? I’m feeling a bit dense today... :/
I think we definitely need to improve this, but exporting site functionality should be extended IMO, to export to a usable static HTML snapshot of the site, with all needed resources. But that’s a whole other ballgame. I do not think the caching would replace this capability.
We could tear out the export site to HTML all together.
That or the previously rendered output from the snippet the last time it could contact the DB.
What would be really cool too would be if you could have an automatic friendly erorr message that would show up in the place of the "no cache" snippets.
Just a joke really but we do need to turn the HTML export into a module.
I think we definitely need to improve this, but exporting site functionality should be extended IMO, to export to a usable static HTML snapshot of the site, with all needed resources. But that’s a whole other ballgame. I do not think the caching would replace this capability.
We could, but I’d rather throw a friendly error. IMHO it’s better to say "The search form isn’t working rigth now." than to have people typing in searches and never getting anything back.
That or the previously rendered output from the snippet the last time it could contact the DB.