theme.skin cache?

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.
6/25/2013 8:32:20 PM
Gravatar
Total Posts 5

theme.skin cache?

Hi Joe,

We are running MojoPortal 2.3.9.7, .NET 4.0 Running in Full Trust and we are having a heck of a time seeing our theme.skin changes reflected. From another post I have read it sounds like there may be some caching somewhere but we are unable to find it.  We have tried a number of tactics to get our changes to reflect on our pages. If we create a new site on the same instance and then edit the theme.skin we can see our changes happen one time but not again. Meaning, if we go to that same theme.skin file we just changed and make another change to the theme.skin the changes to do not show up.  Any advice would be really helpful. 

Thank you,

Josh

6/26/2013 11:34:55 AM
Gravatar
Total Posts 18439

Re: theme.skin cache?

Hi,

I have occasionally seen problems like that myself, the theme cache is managed by asp.net and it should be invalidated in mojoPortal if the theme.skin file or the web.config file is modified and generally it works correctly but every now and then I have definitely run into this sticky theme cache problem where it seems to be stuck. In those cases I've resorted to things like recycling the app pool or even restarting iis or rebooting to get past it, though I know those things are problematic in a production environment. One less disruptive solution for production is to copy the skin with a new name and then change to that skin.

The theme cache as mentioned is managed by asp.net outside of mojoPortal control. We pass in one cachedependency that points to the theme.skin file and one that points to the web.config file to asp.net and that should make it watch those files for changes and clear the cache if they change. When this problem occurs it seems as if asp.net for some reason does not notice the changes to the files or in some way lost the references or stopped watching them.

Again I rarely encounter this though I have encountered it. In a dev environment I'd try a reboot.

Hope that helps,

Joe

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