Hi guys,
I've just experienced a weird issue with the Umbraco v8 API.
I've imported some content via the API, discovered an error and wanted to delete all nodes of a specific type.
However - some of my new content didn't show up when doing a site.Descendants<Product>() and hence couldn't be deleted.
I figured out that by rebuilding the NuCache I could get things working - but I need this to be done after my import.
So - is there any way of rebuilding the cache using the API?
On a small project based on Umbraco version 8.0.1 on FrontPage node I have a slider (using Nested Content) which have the following properties: Image (Media Picker), Heading (textbox) and Text (textarea).
Furthermore on subpages the pages have a Top Image property (Media Picker). When I upload files, e.g. entire /Views/Partials folder these images are not shown on site, but still visible in media pickers.
In Published Status dashboard the clicking the last "reload" button seems to fix the issue:
This lets you reload the in-memory and local file cache by entirely reloading it from the data in the cmsContentNu table, but it does not rebuild that table. This is relatively fast. Triggers the reload on all servers in an LB environment.
Maybe add a label/heading to each of these groups, e.g. "In-memory cache", "Database cache" or something similar to make it more clear.
NuCache rebuild via API
Hi guys, I've just experienced a weird issue with the Umbraco v8 API. I've imported some content via the API, discovered an error and wanted to delete all nodes of a specific type. However - some of my new content didn't show up when doing a
site.Descendants<Product>()
and hence couldn't be deleted. I figured out that by rebuilding the NuCache I could get things working - but I need this to be done after my import.So - is there any way of rebuilding the cache using the API?
Thanks :)
Did you ever get a solution to this?
On a small project based on Umbraco version 8.0.1 on FrontPage node I have a slider (using Nested Content) which have the following properties: Image (Media Picker), Heading (textbox) and Text (textarea).
Furthermore on subpages the pages have a Top Image property (Media Picker). When I upload files, e.g. entire /Views/Partials folder these images are not shown on site, but still visible in media pickers.
In Published Status dashboard the clicking the last "reload" button seems to fix the issue: This lets you reload the in-memory and local file cache by entirely reloading it from the data in the cmsContentNu table, but it does not rebuild that table. This is relatively fast. Triggers the reload on all servers in an LB environment.
Maybe add a label/heading to each of these groups, e.g. "In-memory cache", "Database cache" or something similar to make it more clear.
myprepaidcenter.com
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.