Вы здесь

Сниппет или модуль?

Что быстрее обработает данные, сниппет или модуль? Или разницы нет?

Комментарии

Изображение пользователя drupal.org.ru

Free your content of PHP: Moving PHP code out of blocks, views and nodes

[...]
Performance Drawbacks

Code stored in the database is first fetched from the database, then executed by PHP. Because of that, this code is never cached by accelerators/op-code caches, and can be slower to execute than cached code.