[SOLVED] componentUrl 3.1.1 vs 3.4.0 CACHE issue


Under v3.4 , when using componentUrl: (in routes.js) data always cached, but in v3.0 the data is dynamic.
I’ve tried all options in disabling cache.

When I convert the file from a template to a url file, the page will dynamically render.

Anyone else having this issue?


Yes, component cache was added somewhere between these versions. It is required because parsing component everytime is a heavy operation. And there is no much sense to load different component everytime because it is designed to tweak rendering logic inside of component.

If you really need to drop component cache, then you can just delete it by:

app.cache.components = [];

works! thanks! you’re the best!