cache/server with its own MAIN method