Limenius/ReactBundle

Disabling Cache does not work

gempir opened this issue · 1 comments

I'm using phpexecjs together with v8js and disabling the cache of this bundle does not work.

This is my symfony 4 config for dev

limenius_react:
    default_rendering: "both"
    serverside_rendering:
        mode: "phpexecjs"
        cache:
            enabled: false

For prod it's just

limenius_react:
    default_rendering: "both"
    serverside_rendering:
        mode: "phpexecjs"
        cache:
            enabled: true

HTML gets heavily cached for some reason and everytime I change React components i have to delete the symfony cache (which is where this bundles caches aswell) and then it works.

It is difficult for me to explore this since I am not using v8js atm because it became very hard to compile and get the cache working :(. So if someone has a solution you are more than welcome to share it.