• Resolved pautgn

    (@pautgn)


    Hi,

    I use MemberPress and they here https://docs.memberpress.com/article/298-how-to-set-up-popular-caching-plugins-with-memberpress#sgo recommend disabling Memcache in Siteground hosting. And I asked the reason to MemberPress support and a developer told me “We recommend disabling Memcache because we found some issues every once and then (not each time) with signup and accessing protected content when Memcache is on”.

    If I exclude URLs in SG Optimizer, Will the exclusion also affect the Memcache? Or only the Dynamic cache and file-based cache?

    If EXCLUDE URLS = the MemberPress signup pages and the protected pages: those exclusions inside SG Optimizer, will be applied to Memcache? I mean, for that URLS will it be the same effect having the Membcache = ON + they being excluded than having the Memcache OFF? Then I would be able to have Memcache=ON,…

    And just to be sure, Can you clarify if “Exclude URLs” affects Dynamic caching + File-based Caching + Memcached? And “Exclude Post Types”?

    Regards.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Simeon Boev

    (@k3llanved)

    Hello @pautgn,

    The exclude feature in our plugin does not include Memcached. It will exclude pages and post types, however, objects stored in the Memcache service can not be excluded. Excluding pages related to the plugin will also not have the expected effect.

    Best Regards,

    Simeon Boev

    Thread Starter pautgn

    (@pautgn)

    Then I’m forced to have Memcache = OFF, right? Do you plan to make it compatible with MemberPress? It’s a premium plugin…

    If I’m forced to have Memcache = OFF, Is it enough to put Memcache = OFF in the plugin SG Optimizer? Or Do I also need to put it = OFF inside Site Tools? (If in Site Tools it’s = ON and I have several WP installations in subdirectories for the same domain, so it’s the same Site Tools, Can I have it in SG Optimizer =OFF in some WP installations and = ON in others?).

    About “Exclude Post types” VS “Exclude URLs” Can you please confirm that both affect Dynamic cache + File-based Caching?

    And then if I want for example to exclude all the courses from LearnDash, Is it the same to exclude the post type “courses” inside “Exclude Post types” than to write “/course/*” in “Exclude URLs”? So I understand only one of that is enough. Or is there any difference between that 2 exclude options? 

    Regards.

    Plugin Support Vladimir Trandev

    (@vtrandev)

    Hello @pautgn,

    You can use “Exclude Post Types” in order to exclude all posts from the specific post type being cached by the Dynamic Caching and the File-based Caching. This will make sure all of them are served non-cached for all users.

    As for “Exclude URLs from Caching”, you could exclude parts of your website from the cache. You could simply paste the relative path to the URL you want to exclude or the entire URL – we will parse it and add it into the right format. This function again works for both dynamic and file-based caching.

    Regarding “Memcached’, we can not make such plugin excludes on our end, so I would suggest you to keep the “Memcached” option deactivated but still benefit from the rest of our SiteGround Optimizer plugin’s features. As for your question, you can indeed keep the option “off” for some of your applications and “on” for others via the button in your WordPress dashboard > “SiteGround Optimizer – Caching”.

    Regards,

    Vladimir

    Thread Starter pautgn

    (@pautgn)

    Please can you confirm then that “Exclude Post Types” and “Exclude URLs from Caching” both works the same way? Affecting both dynamic and file-based caching? Your Spanish documentation is not what is saying. It says that “Exclude Post Types” only works for the dynamic cache.

    https://www.siteground.es/tutoriales/wordpress/sg-optimizer/supercacher/

    “Excluir tipos de contenido de la caché: Con esta optimización, puedes excluir todas las publicaciones de cierto tipo de contenido específico que ser almacenadas en la caché dinámica. Esto asegurará que todos ellos se sirvan sin almacenamiento en caché para todos los usuarios.”

    It only talks about “Dynamic cache”.

    But your English version here:

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

    “Exclude Post Types: With this optimization, you can exclude all posts from the specific post type being cached by Dynamic Caching and/or File-based Caching. This will make sure all of them are served non-cached for all users”.

    Is talking about Dynamic + file-based.

    Also here:

    https://es.www.ads-software.com/plugins/sg-cachepress/

    “Desde la opción de excluir tipos de contenido puedes excluir los que no quieras que almacene en caché la caché dinámica. Esta característica no está disponible para la caché basada en archivos.”

    It says explicitly that it’s NOT available for the file-based cache.

    +And regarding Memcache: How Can affect the global performance of the website to have Memcache = OFF? Will the front end be slower? Will I use more server resources (CPU and memory)?

    Regards.

    Plugin Support Dimitar Petrov

    (@demiro)

    Thank you for the update, we appreciate your feedback. We will revise our knowledge base as soon as possible in order to assure consistent information.

    Below you can find the exact caching layer affected by the mentioned plugin’s features:

    Exclude URLs from Caching – Excludes the URL from Dynamic Cache and File-Based Cache.

    Exclude Post Types – Excludes the Post type from the Dynamic Cache layer only. The File-Based cache will continue to be generated and served.

    Regarding the Memcached topic, deactivating the service could slow down the overall loading page and could increase the CPU usage. We recommend manual tests for further confirmation of the results.

    Best Regards,
    Dimitar

    Thread Starter pautgn

    (@pautgn)

    So, to really exclude from caching, I should use the “Exclude URLs from Caching ” and NOT the “Exclude Post Types ”. Then I don’t understand the sense of the “Exclude post types”,… if, for example, I want to exclude all “courses” + “lessons” + “topics” from LearnDash they would be excluded from Dynamic cache but not from the file-based cache,… has it sense? Maybe it’s because I don’t understand what really is the file-based cache, but if those post-types have user-specific data like % progression of a course, I suppose that any kind of caching should be avoided,… Am I wrong? Can you clarify?

    Plugin Support Dimitar Petrov

    (@demiro)

    You are correct, if the pages contain such dynamic information, the cache should be avoided. I would recommend testing different combination of caching settings in order to achieve the best results.

    Regards,
    Dimitar

    Thread Starter pautgn

    (@pautgn)

    But can you please clarify the sense of excluding only from the Dynamic cache but not from the file-based cache? Or in which situations have it sense? (I’m referring to what you said: “Exclude Post Types – Excludes the Post type from the Dynamic Cache layer only. The File-Based cache will continue to be generated and served.”)

    Regards.

    Plugin Support Simeon Boev

    (@k3llanved)

    Our plugin includes three different types of caching that you could use. The dynamic cache stores your content in the server’s memory for faster access with a full-page caching solution powered by NGINX. With the File-based cache, we create static HTML versions of your website which will be served to future visitors. The files are stored in the browser’s memory.

    Exclude post types works with the Dynamic Cache feature only. You can not exclude post types if you use File-based caching.

    Best Regards,

    Simeon Boev

    Thread Starter pautgn

    (@pautgn)

    Ok, thanks. If you revise your knowledge base I’d also recommend that you change the cache page of your plugin because it’s confusing. You should explain what you have told me in this post, inside the plugin configuration.

    Also, the design of that cache page in your plugin is confusing: I assumed that?the entire?section below the 3 cache types, would apply to the 3 caches: Dynamic + File-based + Memcache. But if it doesn’t apply to Memcache, then you should put the Memcache in some different section,… and the same for the “Exclude post types” that you’ve told me that only affects the Dynamic cache,…

    Plugin Support Georgi Ganchev

    (@georgiganchev)

    Thank you for your feedback @pautgn ,

    We will pass your suggestion to the plugin developers.

    Best regards,
    Georgi Ganchev
    SiteGround.com

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Exclude URLs – (Memcache issues)’ is closed to new replies.