BuddyDev

Search

[Resolved] Is it to possible to exclude own profile from Root profiles code?

  • Participant
    Level: Yogi
    Posts: 1117
    calu on #38258

    Hi there, I have been looking at this old topic with the code to show root profiles

    define( 'BP_ENABLE_ROOT_PROFILES', true );

    I was wondering if it is possible to exclude own profile from the code, so the url remains like this for own profile:

    domain/members/own profile

    and all other profiles

    domain/profile

    This could be beneficial for page caching dynamic contents like BP.

    The main problem with page caching is that users own profile is not being updated right away.

    But by excluding own profile in the cache plugin, most of the content like other profiles could benefit from page caching, with very fast page load speed.

    I don’t know if this is plausible, but et defiantly be worth a try, since slow page load is one of the big issues with dynamic content pages.

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #38266

    Hi Carsten,
    Thank you for the question.

    No, I am not seeing any simple way to achieve it.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved