Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Strange cache issues (in profile and topic count)

@gperez-tl

Participant

Hi @robkk . Thanks for the comments.

I’m posting the code. However, the issue may not be at that level. It’s true that sometimes part of the info is ok, and part is wrong. But actually the whole page is being cached. Prove of this is that when I added the html headers (see above) the browsers wouldn’t recognize that tags until I reloaded page with ctrl+F5

USERNAME
$user = wp_get_current_user();
echo $user->user_firstname;

USER PHOTO
get_avatar( bbp_get_displayed_user_field( ‘user_email’, ‘raw’ ), apply_filters( ‘bbp_single_user_details_avatar_size’, 150 ) )

USER NAME UNDER PHOTO
bbp_get_user_nicename() <- this one sometimes is not being cached as far as I can say

———

I’ll try with another theme. But I’m not sure the views7templates will be recognized. I’ll try and let you know. Thanks for the suggestiong.

———

@mica123 Nice to know that changing the server solves the issue. That points in one direction. But let’s try to discover what’s the problem with server configuration.

Skip to toolbar