Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way to force the theme to refresh using PowerShell?

When I deploy a CSS file with my style, I currently have to change theme, then back again manually.

I would like to know if it is possible to force a refresh using PowerShell.

I don't want to do an IIS reset, I want minimal farm interruption.

Thanks

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Are you sure this isnt just a client side cache problem?

Changing the CSS files in a theme will require a CTRL+F5 in your browser if it already has loaded the theme CSS files in its cache.

share|improve this answer
    
SharePoint caches the themed CSS files too. The theme engine caches them when the theme is changed. –  Russell Jul 22 '11 at 12:31
    
Here is a reference, but I experienced it myself too: social.technet.microsoft.com/Forums/vi-VN/… –  Russell Jul 22 '11 at 12:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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