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

Changes not refreshing on Quarto website (cache?) #9493

Closed
michalkohuttn opened this issue Apr 26, 2024 · 4 comments
Closed

Changes not refreshing on Quarto website (cache?) #9493

michalkohuttn opened this issue Apr 26, 2024 · 4 comments
Labels
bug Something isn't working needs-repro Issues that are blocked until reporter provides an adequate reproduction stale Issues open for 30+ days without providing a "working" reproducible example

Comments

@michalkohuttn
Copy link

Bug description

Hi all,
I am really glad and thankfull for Quarto! I am novice and can't help myself.

I made a Quarto website that I need to update infrequently. I have paid webhosting service and own domain, and I do the updates by deleting all files and then uploading them all again after update (I know it is not ideal).. However, when I open the page on my browser (Chrome), I do not see the changes (I tried refreshing, closing and opening, restarting pc..). When I open in incognito mode, it works just fine. I found that the reason is probably cache of browser. Is there a way to not chache the files? Thanks.

Steps to reproduce

No response

Expected behavior

Show the actual website.

Actual behavior

Changes are not visible.

Your environment

Rstudio

Quarto check output

No response

@michalkohuttn michalkohuttn added the bug Something isn't working label Apr 26, 2024
@mcanouil
Copy link
Collaborator

Unfortunately, if you don't provide the information requested, we can't help.

@mcanouil mcanouil added the needs-repro Issues that are blocked until reporter provides an adequate reproduction label Apr 26, 2024
@michalkohuttn
Copy link
Author

Unfortunately, if you don't provide the information requested, we can't help.

I am using Quarto Website in Rstudio. I rendered the website and uploaded the files from "_site" folder on my webhosting. Everything worked fine. After that, I added some new pages with content and added them as content to "_quatro.yml" I rendered again, deleted all the files on webhosting and uploaded the files from "_site" again. However, the new pages could not be found using search function, or even visible in the sidebar. When I open the website in the Incognito mode (Chrome), everything works just fine - the new page can be found in search results, and is shown in sidebar.

I have not changed any files in "site_libs".

Is there any more information you need?

@mcanouil
Copy link
Collaborator

mcanouil commented Apr 26, 2024

All the information from the template issue you did not fill.
Here, you did not share your setup, the Quarto version being used, code, etc.
The only thing we know is that you have an issue and nothing to work with.

When I open in incognito mode, it works just fine. I found that the reason is probably cache of browser. Is there a way to not cache the files?

Browser cache is not controlled by Quarto.
Quarto is a command line tool that generate static HTML files (in your case). Nothing more. Hosting issue, caching issue are not Quarto's doing.

Does the _site contains the up to date changes? If so, then the issue is not on Quarto side.
Use quarto preview for example.

Copy link
Contributor

Thank you for using Quarto and reporting an issue!

Unfortunately, this issue is now considered stale because it has been opened since 14 days without providing a "working" reproducible example to help us investigate.
If you are still facing the issue, please review the "Bug Reports" guide on how to provide a fully reproducible example as a self-contained Quarto document or a link to a Git repository.
Without a reproducible example, it is unlikely that the issue will be addressed.

You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).

````qmd
---
title: "Reproducible Quarto Document"
format: html
---

This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.

```{r}
plot(cars)
```

The end.
````

@github-actions github-actions bot added the stale Issues open for 30+ days without providing a "working" reproducible example label May 11, 2024
@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-repro Issues that are blocked until reporter provides an adequate reproduction stale Issues open for 30+ days without providing a "working" reproducible example
Projects
None yet
Development

No branches or pull requests

3 participants