I am not really happy with the entire caching mechanism of snippets.
First, it is hideously inefficient. Not only due to memory usage (why on earth do we load EVERY snippet into memory when we may only use five/two/one/none on the page??). Then the base64 encoding-- not only does it increase the size by about 133% (which we the load into memory on every request!), but it then requires a decode AND an eval (also very bad!) to run.
I would like to change this so that each snippet is cached individually in a PHP file on the filesystem. These would be automatically loaded on demand thereby decreasing memory usage and eliminating the usage of base64 and eval() entirely.
The interface in the admin and the usage of the snippets would not be changed, only the internals on how they are handled.
What does everyone else think?
(Also, on re-reading: I'm actually volunteering to do this, not asking that it be done.
)