• Resolved lilloabroad

    (@lilloabroad)


    I have a calculator plugin wich is not working properly (costs will not get update) and I assume the reason could be hummingbird. Unfortunately, I do not see a way to exclude particular js from caching, but URL. IS it possible to disable caching for specific js?

    Anyway, I tried but excluding a URL, which is where the plugin is currently operating, but the way the URL is (automatically) “formatted” looks somehow strange to me:
    \/versandkosten-usa-berechnen\/
    Is this ok? Not sure if the URL is now excluded.

    Thanks a lot for your support
    Lillo

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @lilloabroad

    I hope you’re well today!

    I’ve visited the page in question and while I’m not sure how this calculator is supposed to work (I mean, I’m not sure if it shows correct results) it seems to be updating values based on moving sliders there.

    I suppose though that this is because the page is excluded from cache.

    Or am I missing the point and it’s actually still not working? In such case – what exactly should I do there and what behavior/what values to look for/expect in order to test it and see the issue live? Let me know, please.

    Unfortunately, it’s not possible to exclude specific JS file from cache but it’s actually not really an issue. The point is that if page is cached it’s basically turned “into static page”. There’s no way to make some “parts” of it not-cached while other would be cached other than possibly loading a part that is not supposed to be cached via an iframe.

    Excluding entire page form cache would be the best solution here and this can be done URL just like you already tried.

    Best regards,
    Adam

    Thread Starter lilloabroad

    (@lilloabroad)

    Hi Adam,
    so can you confirm me that that page is excluded from caching?
    Thanks a lot for your support!

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hey @lilloabroad

    It seems to be excluded, yes.

    If you look into page source code in browser, you’ll notice – e.g. on homepage – a HTML comment line at the top that states that the page was cached with Hummingbird. This note is only added to pages that are served from cache and if the page is not served from cache (so is successfully excluded) that comment is not there.

    It’s not on the page in question so unless there’s some other (3rd-party – other plugin or server-side) cache, we can safely say that it’s not cached. At least not by Hummingbird 🙂

    Best regards,
    Adam

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @lilloabroad

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

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

The topic ‘Js Script – Cost Calculator by BoldThemes’ is closed to new replies.