OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Clearing OPCache after adding a Product Attribute

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #40383


    Hi, guys

    We have OpCache enabled on the server and if we create a new attribute we need to clear OpCache in order to have it available to the system.

    After we create the product attribute and update the schema, the site breaks due to OP Cache.

    Is there anything in orocommerce which we could run to clear the OpCache.

Viewing 1 replies (of 1 total)
  • Author
  • #40385
    Andrey Yatsenko
    Andrey Yatsenko

    Hi Marius,
    Enabling opcache for CLI is not supported by Oro application, because of entity extend component architecture.

    As for the opcache for request-response flow, you should not disable timestamps validation. Otherwise, add a blacklist for OpCache.

    For example:

    Recommended configuration for opcache can be found here:

Viewing 1 replies (of 1 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No