K2 caching

  • 31 December 2015
  • 2 replies
  • 5 views

Badge +3

We have a custom theme.

When I change the css file, my change is not reflected on the website, even though I clear my browser cache.
I waited for days, and my change still didn't show up.
I don't see my change until I restart the application pool on the server.
How can I see my CSS change right away without having to restart the app pool on the server ?

Thank you.


2 replies

Userlevel 2
Badge +9

Hello,


 


The quickest way to update any changes implemented on your CSS file is to do an IIS reset on the server that is hosting your Designer site. You can do this through the IIS Manager (See below screenshot) or by typing iisreset in cmd.exe while running as administrator.


16674iE1EB4C6060377718.png


 


Another option, if you are on a dev environment or not worried about performance, you can disable caching. 


 


See the very bottom of this documentation piece where it says SmartForm Caching:


http://help.k2.com/onlinehelp/k2smartforms/DevRef/current/default.htm#Deploying_and_Registering_Custom_Themes.htm


 


Regards,


Evan


 


 

Badge +3

Thank you !

The disable caching steps at  the bottom of this documentation piece where it says SmartForm Caching works:

http://help.k2.com/onlinehelp/k2smartforms/DevRef/current/default.htm#Deploying_and_Registering_Cust...

Reply