Caching Problem/New Page Issue

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/17/2009 2:57:59 PM
Gravatar
Total Posts 6

Caching Problem/New Page Issue

Windows Server 2003 .NET 3.5

We are experiencing some strange issues.  We just installed mojoportal this past friday.  Whenever a new page is added or deleted the changes are not reflected in the site map or menu until either the application pool has been recycled or the site has been stopped and started in IIS.

Any ideas what may be causing this issue??

thanks!

glenn

 

3/18/2009 6:59:11 AM
Gravatar
Total Posts 18439

Re: Caching Problem/New Page Issue

Hi,

The SiteMap data for the menu is cached and there exist cache dependency files on disk that we touch (ie modify the timestamp) to clear the cache.

Whenever new pages are added or pages are deleted the cache file is touched and that should clear the cache. If for some reason (like insufficient file  permission) it can't create or touch the dependency file it could prevent the cache from being cleared.

I would look in the /Data/Sites/[SiteID]/systemfiles folder, there should be a file there named sitemapcachedependency.config, it is nothing but an empty text file. It can be safely deleted to clear the cache or just modified. It should re-appear as long as there are sufficient permissions to create it.

Hope it helps,

Joe

3/18/2009 8:10:29 AM
Gravatar
Total Posts 6

Re: Caching Problem/New Page Issue

Joe,

Thanks for the help!  I deleted that file ... it re-created it and now everything is working correctly.  It is refreshing correctly now when i add/delete pages.

I checked the permissions on that directory and the ASPNET account has full access.

Thanks!

Glenn

5/17/2009 12:38:12 PM
Gravatar
Total Posts 108

Re: Caching Problem/New Page Issue

Hi

Im nost sure if this is related, but ive found on my site hosted by a hosting company that the page ordering list in the admin section doesnt function.

When i click up or down on a page however many times, the page in the list doesnt move. However if i modify my web.config and upload it to restart iis, the pages have moved, but you dont see the page move up and down on the admin screen. (i never had a problem on my local)

I changed my web.config settings to the below, i dont mind if the pages is cached tbh, but would be nice to see where the pages will eventually show in the admin section.

<add key="CacheCssOnServer" value="false" />
<add key="CacheCssInBrowser" value="false" />

<add key="AllowForcingPreferredHostName" value="false" />
<add key="SiteSettingsCacheDurationInSeconds" value="false" />
<add key="MenuCacheDurationInSeconds" value="false" />
<add key="DefaultModuleCacheDurationInSeconds" value="false" />
<add key="WebPageInfoCacheMinutes" value="false" />

<add key="CacheMSSQLParameters" value="false" />

 

I also deleted the file suggested in this post, though havent seen it reappear yet, though my hosting company told me all permissions on the site have been allowed, i'll get them to double check this tomorrow on this specific folder.

Sorry for the long post, im sure it will be of  some benefit to others, ive found a wealth of information on the forum so far for which im very grateful.

Thanks again

Tim

5/17/2009 12:41:54 PM
Gravatar
Total Posts 108

Re: Caching Problem/New Page Issue

ps its just come to mind that i should check what version of .net framework they're running

5/17/2009 2:30:31 PM
Gravatar
Total Posts 108

Re: Caching Problem/New Page Issue

found out App_Data, ClientScript, Data and Setup either lost their permissions or were not setup with read read/write permissions by my hosting company.

Its working a treat, hope this helps future mojo advocates :)
 

You must sign in to post in the forums. This thread is closed to new posts.