TwoQuestions wrote:
I recently activated the Client Resource Manager on my test site, and all is well until I start editing skin.css for the custom skin I'm developing. If I turn on debug mode, everything works as it should. When I turn it off it speeds up my site as advertised, but any edits I make to skin.css don't get reflected in the generated stylesheet.
Is there some kind of cache-clearing mechanism that I missed that I'll have to use in order for my changes to become effective?
Hey TwoQuestions,
First - welcome! I see it's your first post in the forums so I just thought I'd give you an official welcome.
As for clearing the CSS cache - yes - there are a few ways to clear it. You can use the "clear cache" button in the host settings - there's also a shortcut in the Tools section of the DNN 6 control panel as well. There are some other options, but that is going to be the most straightforward way to clear it. This was an existing feature that was updated in DNN 6.1 to also increment the client resource version - which forces the composite files to be rebuilt.
However, it's important to strike a balance between convenience and speed. Ideally once you deploy and turn the combination on - you won't need to build new composite files for awhile. While there is a minimal performance impact due to the server side processing - the bigger concern is that these files are cached in a visitor's browser - and incrementing the version by clearing the cache will force the user to download a new copy - mitigating much of the performance benefit.
The overall goal though - for this release - was to reduce the number of requests, and you will get that either way. But hopefully you don't have to clear the cache *too* often.
Let me know if you have any other questions - would be glad to help
Ian