Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Konstantin Kovshenin

    (@kovshenin)

    Hi Frederic,

    You could, but you’ll need to disable their Page Caching feature for Surge to work correctly:

    https://docs.wp-rocket.me/article/61-disable-page-caching

    Hope that helps!

    K

    Thread Starter Frederic Legrand

    (@fredericlegrand)

    I just saw your plugin
    Not really need it but wanted to test it on dev site
    and compare it with wp-rocket caching

    No need to worry about woocommerce compatibility?

    Plugin Author Konstantin Kovshenin

    (@kovshenin)

    Surge has been tested with WooCommerce specifically and it’s fully compatible.

    @kovshenin I should be starting a new post but since this is a WP Rocket thread I want to ask here, also for the one who asked.

    I am using WP Rocket and I used the addon you suggested @fredericlegrand, however it seems now my pages are static html pages from WP Rocket and not Surge.

    How can I confirm the pages I am seeing are from Surge and not WP Rocket’s static pages?

    I need to clarify: Surge does not minify, compress JS/CSS, etc, but WP Rocket does.
    I want to combine Surge and WP Rocket for Surge’s functions and WP Rocket’s functions – as you mention you can combine them.

    Example url: texelinbeeld.nl (see source code, last line – shows WP Rocket)

    Plugin Author Konstantin Kovshenin

    (@kovshenin)

    Hi there! I checked the site and indeed Surge does not seem to be working. You’ll need to turn off WP-Rocket’s page caching features, and then turn off and on Surge to attempt to set it up again.

    Having said that, I also noticed that your site issues a Session cookie on every request:

    > set-cookie: PHPSESSID=f7qq83nuauupjbfi68usqmorad; path=/

    This is likely caused by a session_start() in one of your plugins or themes. This is a blocker for page caching in general, because a session basically says “treat this user as a unique user”. Sessions should only be initiated when the user takes a certain action on the site, that makes them unique, like add a product to their cart for example. WooCommerce does this correctly.

    Try and toggle your plugins to find the offender and note that it could be your theme as well.

    Hope that helps!

    ~ Konstantin

    Hey @kovshenin

    Thanks, will look into that!

    Indeed this website, which as an old bought theme uses some session_start() function, I’m using this old website as an test location for Surge and good to know that this is being a blocker. I’ll switch to another test website shortly and I’ll move to my own post now which I just made also ??

    Plugin Author Konstantin Kovshenin

    (@kovshenin)

    Sounds good, let me know if I can help with anything else!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wprocket’ is closed to new replies.