4 ms·
Is it possible to do the same thing in PHP? Authenticated users performance is one of the areas Drupal could be improved, and this looks like it could help a lo
by FiReaNG3L 17y ago
Is it possible to do the same thing in PHP? Authenticated users performance is one of the areas Drupal could be improved, and this looks like it could help a lot.
- Zarathu 17y agoYeah, you can do it in PHP, but the process for getting it to work includes banging your head on the table, getting drunk, and slitting your wrists. I'll take Django, thanks.
- mseebach 17y agoThe quick-and-dirty way is to do it like Smarty does: compile what you want to cache and write that as a .php file that includes the user-dependent data to disk. But, if I'm not mistaken, Drupal with users is slow because pretty much any function in the system is allowed to change its output depending on the logged in user, right? And that's pretty tricky to cache.