Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling Cache does not work #35

Open
gempir opened this issue Oct 16, 2018 · 1 comment
Open

Disabling Cache does not work #35

gempir opened this issue Oct 16, 2018 · 1 comment

Comments

@gempir
Copy link

gempir commented Oct 16, 2018

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.

@nacmartin
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants