Umbraco 13.5.1 does not refresh block list custom view html after publishing to production.
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.5.1
Bug summary
I am making changes on an html custom view of a Block list editor and after publishing the changes it does not refresh on production site. As always i increase the version on my appseettings.json. It was working fine until i updated to 13.5.1 from 13.4.1. If i enter the html path in the browser it shows the html updated, so i guess it is not the browser cache but an umbraco cache issue after deployment. I have ftp the site and the file is copied after publishing. I have tried restarting the site too.
Specifics
this is my RuntimeMinification conf "RuntimeMinification": { "CacheBuster": "Version", "Version": "87" }
Steps to reproduce
make changes to a block list editor custom html view. set cachebuster to "Version" Increase version publish changes to production site from visual studio
Expected result / actual result
No response
This item has been added to our backlog AB#44706
Hi there @teeto!
Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.
We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
- We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
- If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
- We'll replicate the issue to ensure that the problem is as described.
- We'll decide whether the behavior is an issue or if the behavior is intended.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.
Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:
Thanks for reporting this. We'll look into it!
Hi there @teeto,
I've been trying to reproduce this, but I am failing 😢
Below is a screencast of my Umbraco running locally with runtime minification enabled. Chrome DevTools are closed, so I'm not cheating 😉
When I change the block custom view, it is immediately reflected in the backoffice, without changing anything in the minification settings:
I believe this is how it should work - if I recall correctly, custom block views are not handled by the runtime minification.
Can you see the view being requested from the backoffice, if you open up DevTools when editing?
thanks @kjac for your response. In local it works well, it happens when publishing to production with the settings: "RuntimeMinification": { "CacheBuster": "Version", "Version": "87" }
Hi @teeto 👋 I'm running locally with the same runtime minification settings and still I don't see it happening.
Two questions come to mind:
- Is your site running in "Production Mode" in your production deployments?
- Can you see the view HTML files being requested in the Chrome network tab, when you view blocks in the production environment back-office?
yes, it is running in production mode. In local i am running development mode with this settings: "RuntimeMinification": { "UseInMemoryCache": true, "CacheBuster": "Timestamp" },
And yes, i can see the html file being requested in Chrome. Note that after some hours the file gets updated in umbraco.
Hi @teeto,
Sorry for the belated response.
I've set this up with a site running in production mode, using the same runtime minification settings. I still cannot reproduce it 😕
Here's a screencast of how custom view changes are reflected after restart:
Note that after some hours the file gets updated in umbraco
Could this be a hint? Are there some custom cache headers being appended to your Umbraco client files by any chance?
Thanks @kjac , there is no custom cache headers. Anyway i updated to next 13 version and i think i havent this problem anymore. Its been some time since i dont work in that project. If i run into this again, i will update here. Thanks for your help.