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

PreservedRouteParameters and caching #472

Open
rhousham opened this issue Jan 29, 2018 · 1 comment
Open

PreservedRouteParameters and caching #472

rhousham opened this issue Jan 29, 2018 · 1 comment

Comments

@rhousham
Copy link

@rhousham rhousham commented Jan 29, 2018

Hi I've developed a small site and really just use your sitemap for the breadcrumbs in each site page.
I don't use the sitemap.xml for crawling.

The Mvc.SiteMap is quite small 141 lines (with a few spaces). There are quite a few pages given that most of them are driven by the database but the sitemap itself is quite small.

I'm just trying to wrangle my head around the bug here - which has come up once or twice.
#424
and the config options.

I've only just looked into them and set these up

    <add key="MvcSiteMapProvider_CacheDuration" value="5"/>
    <add key="MvcSiteMapProvider_EnableLocalization" value="false"/>
    <add key="MvcSiteMapProvider_EnableSitemapsXml" value="false"/>

I'm using a code first methodology and the 'web publishing' so I could change that cache duration to something massive, given that it won't need to change. Apart from when I perhaps release a new version.

I've also turned off the sitemaps xml - will this solve the 424 bug?

Just trying to solve this the best way I know how without resorting to an external DI (which will probably take a load more time).

@rhousham
Copy link
Author

@rhousham rhousham commented Feb 9, 2018

Did this and haven't had the error yet - so maybe looking good.
Richard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.