I want to alter a body's node value, but without saving it:
the altering depend of a array of values, witch it could change sometime, so i have to update every node at each change if i save it. Anymore, the backward before re- altering it could be very complicate.
For now i change the render value in a preprocess theme hook.
But if the body is very long, the altering could be hevy.
So i'm thinking about something like that :
- Before rendering, check the body's node cache.
- if it's empty, generate it with the altered value.
- when updating values responsable of altering the body's, i reset the node cache.
Is there a common way to do this using the drupal's system cache or have i to make my own for this specific task?