I have an action. It renders files specified by URL. If the file is a
source code, the action will do something on it, like highlighting.
If the file is a plaintext or an image, the action just sends it as
This code works until I turn on cache on this action. With cache
enabled, the second time to access a URL will result in a prompt
dialog asking if you want to download it.
I guess it is related to the mimetype. But don’t know how to solve it:(