load resources on the same protocol in doc & demo files