• Resolved pinoooo

    (@pinoooo)


    What is the exact function of the Drop-in advanced-cache.php? What exactly does it do?
    And is it still used?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support daniellaivanova

    (@daniellaivanova)

    Hello @pinoooo,

    The advanced-cache.php file is used by most of the caching plugins to store information about full-page caching. Basically, its purpose is to check if the cache is valid, when, and which cache is to be served.

    The file is still being used by the SG Optimizer plugin.

    Best regards,
    Daniela Ivanova

    Thread Starter pinoooo

    (@pinoooo)

    Thanks for your explanation. I was curious about this because somehow the advanced-cache.php drop-in disappeared for me. (probably when deactivating and activating the plugin)
    I manually reinstalled SGO (upload sg-cachepress.zip), but this drop-in is not coming back either?
    I also checked the folder /wp-content/ There is also no deactivated (renamed) drop-in present here.

    Plugin Support Vladimir Trandev

    (@vtrandev)

    Hello @pinoooo,

    The advanced-cache.php and sgo-config.php files refer to our File-based Caching.

    Both files are created under the wp-content/ folder once the mentioned option is activated. The advanced-cache.php file is the dropin and sgo-config.php file contains configuration of excluded cookies, cache directory, secret key, logged in cookie.

    For more information about our File-based Caching, please check our tutorial:

    https://www.siteground.com/tutorials/wordpress/sg-optimizer/supercacher/#File-based_Caching

    Regards,
    Vladimir

    Thread Starter pinoooo

    (@pinoooo)

    Thanks for this additional explanation.
    Despite having the File-based Caching option turned on, the advanced-cache.php file was missing. Disabling and enabling the File-based Caching option resolves the issue. Thank you!

    seoservicesbristollimited

    (@seoservicesbristollimited)

    Interesting topic since I was wondering how some of my sites were showing only one Drop-in while others were showing two…

    Also confusing is that only the object-cache.php displays details such as “Memcached Dropin for SGO Version 1.0.0“, hence why I initially thought that the advanced-cache.php was remains of an other cache plugin -than the SG Optimizer…

    Thanks @pinoooo for your last tip. Doing the same (disabling and re-enabling the File-Based Caching option) fixed the issue for my sites missing the 2nd drop-in file too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Function of advanced-cache.php’ is closed to new replies.