General developer forum

Disable specific cache

Picture of Ricardo Souza
Disable specific cache

I have an activity that only appears if a user profile field is TRUE.

I have a page that, when updated, updates the user profile to TRUE.

When you try to access this activity, it still considers the profile field to be FALSE even after the upgrade. Only after logging out and logging in again does the activity appear.

How do I force this profile or prevent it from being cached?

Average of ratings: -