• Resolved sleyer1

    (@sleyer1)


    Hi,

    I’m using SG Optimizer on a WooCommerce shop.
    I seem to understand that the cache is completely disabled for all logged-in users.

    It seems weird to offer site-wide poor performance to registered users.
    Many other cache plugins allow the option to cache even when logged-in (except for dynamic pages such as Cart, Account, Checkout). Is it possible with SG Optimizer?

    I’ve looked around and seen for instance WP Rocket encouraging to use their plugin in conjunction since you don’t offer this feature.
    On the other hand, I’ve read many comments from members of your team saying that at this point SG Optimizer should be used on its own and makes all others obsolete.

    Could you please shed light on this?
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Cache cannot be enabled for logged in users because they have sensitive data which is not suitable for full-page caching. Until they login users get cached version but once they do or initiate a purchase all hits become dynamic in order to avoid serving cached content from one purchase to the next person which would be very bad.

    Dynamic hits are optimized by the Ultrafast PHP with opcache, Memcached if enabled and our new improved MySQL config.

    I don’t want to comment on the WP Rocket plugin. SG Optimizer outperforms on SiteGround servers by far so doesn’t make much sense in using it.

    Thread Starter sleyer1

    (@sleyer1)

    Thank you for your response.

    From what I understand only some pages are dynamic, while other pages (such as Homepage, Product page, etc.) have nothing to do with the user and could be served from cache to speed things up.

    I get that it’s safer to disable cache completely on login, but other cache plugins (WP Rocket, Fastest Cache, W3 Total Cache) offer this hybrid option (to enable cache when logged-in excluding Cart, Account, Checkout, etc.), so it must be possible somehow?

    As you said, SG Optimizer is a beast and I really don’t want to combine it with another plugin. Please tell me if this feature would be at all possible. Right now I’m just not getting the speed I want from the shop without cache, and most users will be logged in. Thanks for your help.

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Well yes, out of the box when users login, they open a session and get dynamic (not-cached) content ?? You don’t need to enable anything it just works that way by design ??

    Thread Starter sleyer1

    (@sleyer1)

    I understand, but I meant, what about pages that remain static even when user has logged in (e.g. homepage)… Those should still benefit from caching. The fact that a user logs in doesn’t mean all page contents become dynamic. But that’s ok, I just use WP Rocket for that instead and it works fine. Just wished I could rely on SG only.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enable cache for logged-in WooCommerce users’ is closed to new replies.