While you can completely disable disk cache or JavaScript via about:config, it is probably not desirable for performance and compatibility reasons. However, it would be useful if the "protections" panel had toggles to disable cache and/or scripts for specific websites. A cookie permission option (allow/allow for session/block) could also be added to the protection panel for convenience since you can already configure this for specific websites in settings.