We are considering using Cassette in our asp.net web application which might be accessed by hundreds of users at the same time. Cassette works through HTTP handler which handles requests starting like this:

'_cassette\assets\*'

I notice that no bundle is created on a hard drive; it looks like resources are compiled and zipped at run-time in memory and returned back to the user.

Does it mean that Cassette relies on proxy or IIS cache, and not on a browser cache to handle all subsequent requests from other users to the same bundle? Does Cache-Control: public added to every bundle response means the bundle for the URL will always be cached by IIS/proxy and the web application will not do a double job?

有帮助吗?

解决方案

Cassette caches generated bundles in Isolated Storage on the server disk. (but only in Release mode)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top