Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Patrick van Kemenade 64 posts 258 karma points
    Jan 10, 2021 @ 19:54
    Patrick van Kemenade

    Clearing cache when developing a plugin

    What is an easy way to clear the cache while developing a plugin.

    So far the only thing that always seem to work is editing the package.manifest

    And in the link, for instance:


    And then every time update v=xxx to a higher number. Same for the .html and .css

    But there must be an easier way.

  • Nicholas Westby 1992 posts 6825 karma points c-trib
    Jan 10, 2021 @ 20:21
    Nicholas Westby

    I feel like I usually don't have a problem, so maybe something about my configuration ensures this (it's been a few weeks since I've had to make any back office changes though, so maybe I'm not remember things correctly). Some things I do that may or may not help you:

    • I debug from Visual Studio (rather than from IIS).
    • The web.config is set to have debug be true.
    • I have the Chrome inspector open and the browser is set to have caching disabled.

    BTW, I've gotten into trouble before setting a query string in the package.manifest file. I think there was some problem with ClientDepenency or something. Might have been a temporary issue, but thought I'd give you a heads up.

  • Patrick van Kemenade 64 posts 258 karma points
    Jan 10, 2021 @ 21:06
    Patrick van Kemenade

    Thanks, I didn't set the cache disabled in Chrome DevTools that helped.

Please Sign in or register to post replies

Write your reply to: