OPcache reliable?

Discussion in 'General discussions' started by Joseph smith, May 9, 2019.

?

enabling OpCache

  1. Yes

    0 vote(s)
    0.0%
  2. No

    100.0%
  3. Bad choice

    0 vote(s)
    0.0%
  4. Partial if...

    0 vote(s)
    0.0%
  1. Joseph smith

    Joseph smith New Member

    Joined:
    Feb 19, 2018
    Messages:
    25
    Likes Received:
    0
    S.E:
    2019-08-24 22:07:10
    L.T:
    Regular
    L.C:
    2
    HI everyone,

    a simple question I just want to know if Opcache could able to be trusted on mailwizz platform any unstable or bad circumstances that I could be confronting.

    in addition, all settings could be set in default settings.

    what is your recommendation.

    best regards.
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,048
    Likes Received:
    2,344
    There should be no issue.
     
  3. Joseph smith

    Joseph smith New Member

    Joined:
    Feb 19, 2018
    Messages:
    25
    Likes Received:
    0
    S.E:
    2019-08-24 22:07:10
    L.T:
    Regular
    L.C:
    2
    if so, what is your basic recommendation?

    1) enabling OpCache on opcache.enable=1
    2) Enabling OpCache on opcache.enable_cli=1 ? do I set 1 or 0.

    or is there any other variable that you are recommending to set on or off.

    best regards
     
  4. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,048
    Likes Received:
    2,344
    You just have to enable it, for web and cli, that's all, no need for additional tunning, defaults are fine for most of the app, mailwizz included.
    Just keep one aspect in mind, with opcache enabled when you do file changes, it might take a goof while for them to get reflected, you might need to even restart the php process to see them.
     
  5. Joseph smith

    Joseph smith New Member

    Joined:
    Feb 19, 2018
    Messages:
    25
    Likes Received:
    0
    S.E:
    2019-08-24 22:07:10
    L.T:
    Regular
    L.C:
    2
    maybe and @twisted1919 one more question regard of it, what happens if a user a certain user update their data to Mailwizz won't be cached? because it is mysql in this case? or not... it is a doubt in this case.

    in short, IF a user change personal data this data won't be affected when I segment them on each Campaign? shouldn't cached because it's MYSQL right
     
  6. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,048
    Likes Received:
    2,344
  7. Joseph smith

    Joseph smith New Member

    Joined:
    Feb 19, 2018
    Messages:
    25
    Likes Received:
    0
    S.E:
    2019-08-24 22:07:10
    L.T:
    Regular
    L.C:
    2
    @twisted1919 I forgot completely to mention currently I used REDIS as you explained in the mutex cache on mailwizz app, however if so, is it still reliable activate OPCACHE?
     

Share This Page