MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

purging cache  (Mono Support )

Viewed 4369 time(s), 2 post(s) 2/11/2014 8:59:24 AMby nasman
nasman

nasman

2/11/2014 8:59:26 AM
Hi,

We are testing our new website. we are facing an issue that application cache folder is growing rapidly. There are thousands of folders in the cache folder. It's very difficult for us to sync the website across different servers. Is there any way that we can automatically purge the cache on regular basis?

Many Thanks,
This content has not been rated yet. 
845 Reputation 93 Total posts
mzilic

mzilic

2/11/2014 10:41:02 AM
The ViewState folder should be automatically cleaned at certain point (after a session expires). You could of course manually delete older entries after certain time however you can never be certain if you are killing someones session while doing so. I also recommend that you switch from DiskProvider to SqlProvider instead.

Regards
This content has not been rated yet. 
2218 Reputation 300 Total posts