Site caching everytime I modify CSS

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/6/2011 12:25:50 PM
Gravatar
Total Posts 4

Site caching everytime I modify CSS

Hi Joe,

   This has been my only downfall in developing skins for mp, it might also be, because I didn't ask this in the beginning.  This might be a silly question but, whenever I try to modify CSS , it seems to take an hour before I see my changes, every time I refresh the page after changing CSS content I don't see the changes immediately.

So I'm thinking this has something to do with page caching, but then I disabled this "feature" in the page where I'm working at. As additional info, I also change some settings in IE to allow new content every page refresh. I know I'm just missing something here.

 

Thanks and Good day,

-gil

 

4/6/2011 12:36:17 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Site caching everytime I modify CSS

The best way to turn off caching during development is to set these values in your user.config file (then touch web.config so the changes are picked up). Be sure to change them all back to "true" when running in production.

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

Jamie

4/7/2011 11:28:00 AM
Gravatar
Total Posts 4

Re: Site caching everytime I modify CSS

Thanks very much Jamie E, this is great! I've been having lag time in developing skins because of this, like I said I should have asked this long time ago.

 

Regards,

-gil

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