Changing custom event code or page JS takes a long time to take effect

In trying to test my JavaScript code that I’ve added as either an Element event or at the page level, I noticed that I have to refresh my web browser multiple times, and wait quite a while for my new code to take effect, even when doing hard reloads with cache clearing.

Any way to get these kind of changes to take effect quicker during development?

Hi @Canuckaholic there shouldn’t be anything from our end necessarily holding up your page refresh. What is your tech stack? Do you have any caching settings in your app that could be related to this?

If you have a page that has a reproducible example that would be helpful for me to take a look.

Our tech stack is pure JavaScript, using Node, MobX and Lit web components. Maybe something in nginx? I’ll ask our DevOps people.

1 Like