• Resolved exinator4

    (@exinator4)


    As of the most recent update, SG Optimizer added two files to the path of WP_CONTENT_DIR, specifically sgo-config.php and advanced-cache.php. It never used to add files here and it’s my understanding that all plugin files should be within the plugin’s own directory (sg-cachepress in this case).

    I have a non-standard setup with my wp-content folder somewhere else, and files in the root of the content directory has created some errors I have to create exceptionsfor now.

    Without wishing to complain too much, it’s always been my understanding that plugin code should be within the plugin’s own directory? ?? That is to say I don’t think it’s best practice for SGO to be using WP_CONTENT_DIR as a dumping ground for plugin files.

    Please could these two files be moved into the plugin’s directory itself and not the content directory?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support stefanstefanov

    (@stefanstefanov)

    Hello @exinator4

    The sgo-config.php and advanced-cache.php files are not added with the latest version of the plugin. The advanced-cache.php file is commonly utilized by various caching plugins for managing full-page caching information. Its main function is to verify the validity of the cache, determine its timing, and identify which cache should be delivered. The advanced-cache.php and sgo-config.php files are associated with File-based Caching functionality. These files are always generated in the wp-content/ folder when the mentioned feature is enabled. The advanced-cache.php file acts as the drop-in, while the sgo-config.php file holds settings for excluded cookies, the cache directory, a secret key, and the logged-in cookie.

    For additional details on our File-based Caching, please refer to our tutorial:

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

    Best regards,

    Stefan Stefanov

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.