• Resolved dominikkedzia

    (@dominikkedzia)


    Hi.
    In one project we have automated process of deploy.
    We use w3 total cache (page cache).
    We use git but we do not have included in our repository file ‘advenced-cache.php’ that is created when turning on page cache.
    Our deploy script automaticaly copy this file from the wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php
    Unfortunately, a few days ago, this solution stopped working properly and we cannot find the source of our problem.
    My question is – what are the actions that we should automatize, to automatically enable page cache (disk: enhanced) with this plugin?
    In other words:
    What is the process of enabling page cache (disk: enhanced) looks like? What files are copied, what kind of config is changing && what kind of actions are executed on database?
    Thank you.

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

    (@vmarko)

    Hello @dominikkedzia

    Thank you for your inquiry and I am happy to assist you with this.
    Once the Page cache is enabled and settings are saved, the file advanced-cache.php is dropped in the wp-content folder. The wp-content/cache/page-enhanced/ folder is created for cached pages and within the folder and .htaccess file for the page cache.
    Also, Page Cache rewrite rules are added in the .htaccess file.
    Now when you said that the solution stopped working properly, can you please share more details about what you mean by that? Is Page cache not being enabled or the advanced-cache.php is missing?
    Thanks!

    Thread Starter dominikkedzia

    (@dominikkedzia)

    Thank you for your answer.
    We try to check everything twice and find the source of the problem.
    Of course, in wp-content/w3tc-config there is a configuration saved that is necessary for this plugin to work properly, is it not?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dominikkedzia

    YOu are most welcome. Yes, the configuration is saved in wp-content/w3tc-config/master.php file, and yes that file is necessary as it contains the configuration.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why w3tc settings purge after every deploy?’ is closed to new replies.