• Resolved mipame

    (@mipame)


    Hi and thanks a lot for your great plugin!
    We are using buddypress and xFields (xtended Profile) as profile fields of our users. Some of these fields are being cached and are only updated after a cache flush.
    How can I disable caching for these fields?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mipame
    Thank you for your inquiry and I am happy to assist you with this.
    Can you please specify where those fields are and if on a single page?
    Also, make sure to disable caching for logged in users in Performance>Page Cache>Don’t cache pages for logged in users.
    Thanks!

    Thread Starter mipame

    (@mipame)

    Thanks. These fields are on pages /members/USERNAME/settings

    so for each user this is a different url – and I cant specify all of the users.

    The option “Don’t cache pages for logged in users” is enabled but this doesn’t help.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mipame

    Thank you for the information. Are the /settings/ part of the page always the same?
    IF so you may try to add /settings/ to never cache following pages filed in Performance>Page Cache>Advanced.
    To disable page caching of specific theme templates or plugin files you need to add define('DONOTCACHEPAGE', true); to it.
    Thanks!

    Thread Starter mipame

    (@mipame)

    it didnt help.
    I’ve added both these things and it didn’t do any change!
    Only after I purge the cache, the values appear as changed

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mipame

    Can you please share the URL so we can check this?
    In the mean time, please disable the settings one by one, starting with page Cache, and see if the issue persists.
    Thanks!

    Thread Starter mipame

    (@mipame)

    I solved it – thanks.
    The normal ajax request was not evnough. I had to send a whole form-submit for this

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘disable cache for xfields on buddypress’ is closed to new replies.