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

Production mode html cache bug #6739

Closed
matvejs16 opened this issue Sep 24, 2022 · 0 comments
Closed

Production mode html cache bug #6739

matvejs16 opened this issue Sep 24, 2022 · 0 comments

Comments

@matvejs16
Copy link

Vue version

3.2.39

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-ktlfbn?file=index.html,src%2FApp.vue,src%2Fcomponents%2Flogin.vue,package.json&terminal=preview

Steps to reproduce

  1. Go to reproduction link (preview [Production mode]) and https://stackblitz.com/edit/vitejs-vite-ktlfbn?file=index.html,src%2FApp.vue,src%2Fcomponents%2Flogin.vue&terminal=dev (dev verison [Development mode])
  2. Click to "Toggle login" button
  3. Press "Close Modal"
  4. Repeat from 2. step

What is expected?

In development mode and production mode, the result should be the same (the word "test" should only be shown the first time)

What is actually happening?

In development mode word "test" is not shown after repeating the steps
In production mode word "test" is there every time when component renders.

System Info

System:
    OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 48.66 GB / 62.68 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
Binaries:
    Node: 17.9.0 - /usr/bin/node
    npm: 8.19.1 - /usr/bin/npm
Browsers:
    Chrome: 104.0.5112.79
    Firefox: 104.0

Any additional comments?

No response

@matvejs16 matvejs16 changed the title Production version html cache bug Production mode html cache bug Sep 24, 2022
chrislone pushed a commit to chrislone/core that referenced this issue Feb 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant