• Resolved mihailmc

    (@mihailungu)


    Is there a way to exclude cost calculator from cache plugin? I am using Seraphinite Accelerator and if i do not clear the cache everyday, the calculator is not displayed on page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mihailmc

    (@mihailungu)

    For now i am testing this, but it would be nice to have a confirmation from the dev:

    1) Per-URL: disable content processing only (keep cache)

    WP Admin → Accelerator → Settings → Exclusions

    • URI paths → Exclude from content processing (do not tick “exclude from caching”):

    / /request-quote-online-order/

    This leaves the pages cached but prevents Seraphinite from altering their JS/CSS. 2) Asset-level excludes (JS/CSS of the calculator)

    In Seraphinite, open each section below and paste the lines.

    Scripts → Grouping → Excludes → Particular scripts

    src:@/wp-content/plugins/cost-calculator-builder/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/vue3/@

    Scripts → Minify → Excludes

    src:@/wp-content/plugins/cost-calculator-builder/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/vue3/@

    Scripts → Non-critical (defer) → Exclude

    src:@/wp-content/plugins/cost-calculator-builder/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/@ src:@/wp-content/plugins/cost-calculator-builder/frontend/vue3/@

    (“Exclude” here means “treat as critical”—don’t defer.)

    Styles → Non-critical (delay) → Exclude

    href:@/wp-content/plugins/cost-calculator-builder/@ href:@/wp-content/plugins/cost-calculator-builder/frontend/@ 3) Optional hardening (inline/advanced)

    If your Seraphinite build offers inline script excludes:

    Scripts → Inline → Exclude if contains

    cost-calculator-builder ccb_app_ data-calc-id=

    And under Scripts → General, if you still see intermittent issues:

    • Turn off “Loading without timing switching.”
    • Keep on “Prevent double initialization of excluded scripts.”

    4) Purge and test

    • Purge Seraphinite cache after saving settings.
    • If you use Cloudflare, disable Rocket Loader and set a Page Rule/Cache Rule to Bypass “Speed” optimizations just for:
      • https://edwayllc.us/
      • https://edwayllc.us/request-quote-online-order/
        (Caching can remain Standard.)

    5) Quick sanity checklist

    • Ensure no other optimizer (Autoptimize/LiteSpeed/WP Rocket) is also minifying/deferring these same files—add the same patterns there if used.
    • admin-ajax.php is typically excluded by default; leave it that way.
    • Test logged-out in an incognito window.
    Plugin Support juliastylemixthemes

    (@juliastylemixthemes)

    Hello,

    Thank you for reaching out.

    The Cost Calculator plugin uses Vite as a build tool, which splits the project into many small JavaScript files with automatically generated names. Because the file names change dynamically, it’s not possible to exclude a single static file from your cache plugin.

    Instead, please exclude the script handle used by the plugin:

    calc-builder-main-js

    Most caching plugins allow you to exclude by handle (not just file name). Once you add this handle to the exclusion list, the plugin should work correctly without cache conflicts. (So, you need to ask from the caching plugin authors to activate handle)

    Best regards

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

The topic ‘Exclude Cost Calculator from Cache Plugin’ is closed to new replies.