I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.


I believe you should be able to use Sitecore's config patches to remove the caches. For example:

        <database id="core">
            <dataProviders hint="list:AddDataProvider">
                <dataProvider ref="dataProviders/main" param1="$(id)">
                    <prefetch hint="raw:AddPrefetch">
                        <patch:delete />
  • 1
    Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.
    – Koen Heye
    Jan 31 '19 at 10:29
  • @Trayek , Thanks for the detail and . I will try this patch .
    – JTC
    Jan 31 '19 at 12:42
  • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!
    – JTC
    Jan 31 '19 at 12:42
  • 3
    @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!
    – Koen Heye
    Jan 31 '19 at 12:53
  • @JTC If this solved the issue, please mark it as the answer :-)
    – Trayek
    Feb 6 '19 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.