• Resolved RobotFX

    (@wattaman)


    I’ve just noticed that after disabling/enabling the plugin, it created in the CF cache rules only one rule, with only one line:

    (http.host wildcard "domain.com*")

    I just want to check whether or not this is how it should be. So, is this it? Shouldn’t be more rules or more criteria at least?

    Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter RobotFX

    (@wattaman)

    PS as a comparison, this is the last rule I remember:

    (http.host contains "domain.com" and http.cookie ne "comment_" and not http.cookie contains "auth_" and not http.cookie contains "comment_author" and not http.cookie contains "wordpress_logged_in_" and not http.cookie contains "wordpress_sec_" and not http.cookie contains "wordpresspass_" and not http.cookie contains "wordpressuser_" and not http.cookie contains "wp-resetpass-" and not http.request.uri.path contains ".php" and not http.request.uri.path contains ".xml" and not http.request.uri.path contains ".xsl" and not http.request.uri.path contains "/dashboard/" and not http.request.uri.path contains "/register/" and not http.request.uri.path contains "phs_downloads-mbr" and not http.request.uri.query contains "nocache" and not starts_with(http.request.uri.path, "/wp-json/") and not starts_with(http.request.uri.path, "/wp-login") and not starts_with(http.request.uri.query, "p=") and not starts_with(http.request.uri.query, "s=") and not starts_with(http.request.uri.path, "/wp-admin") and not http.cookie contains "dshack_level" and not http.cookie contains "edd_items_in_cart" and not http.cookie contains "it_exchange_session_" and not http.cookie contains "mp_globalcart_" and not http.cookie contains "mp_session" and not http.cookie contains "noaffiliate_" and not http.cookie contains "upsell_customer" and not http.cookie contains "wishlist_reg" and not http.cookie contains "wlmapi" and not http.cookie contains "woocommerce_" and not http.cookie contains "xf_" and not http.cookie contains "yith_wcwl_products" and not http.request.uri.path contains "/checkout/" and not http.request.uri.path contains "/members-area/" and not http.request.uri.path contains "/wishlist-member/" and not http.request.uri.query contains "nowprocket" and not starts_with(http.request.uri.path, "/edd-api/") and not starts_with(http.request.uri.path, "/mepr/") and not starts_with(http.request.uri.path, "/wc-api/"))

    Plugin Support Ionut Neagu

    (@ionutn)

    Hey,

    Yes, for now, we reverted to the simpler rule, because the previous one was hardcoded, in the next version we would go back to the more detailed and more efficient one, but accounting for your settings in the dashboard.

    Thread Starter RobotFX

    (@wattaman)

    just to confirm , THIS is the one rule, right?

    http.host wildcard "domain.com*")

    Above: one criteria only, copy/paste from the only CF cache rule expression builder. No other cache rule settings enabled, just that line.

    • This reply was modified 1 year, 7 months ago by RobotFX.
    • This reply was modified 1 year, 7 months ago by RobotFX.

    Yes, currently that is the only cache rule added on Cloudflare.

    • This reply was modified 1 year, 7 months ago by masvil.

    Hi masvil,

    You seem very knowledgeable when it comes to the wordpress cache plugins. Would you recommend the Litespeed Cache or WP Fastest Cache for an effective cache plugin?

    Hi @electriciteaa

    This is the support forum for Super Page Cache, nothing to do with the other two cache plugins you mentioned. Maybe you should try to ask on Reddit.

    I’m asking you because I saw that you purchased it recently, so which do you think is best?

    Plugin Support Kush

    (@kushnamdev)

    This thread has been marked as resolved. If you have any other questions, feel free to create another thread.

    Best regards

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Only one cache rule?’ is closed to new replies.