[opencms-dev] dynamic binary files caching - openCMSa3
Andrey Darbinyan
adarby at bk.ru
Tue Feb 1 09:31:55 CET 2005
Hello All,
is there a possibility to prevent client side caching of the dynamic binary content, such as .pdf files? I created a system to have some of the content "restricted" using standard opencms permissions and form based authorisation. It works fine, when the file gets requested, the login form appears instead and if the verification is successful the user gets redirected to the resource via response.sendRedirect(). The problem is, it only works once, and then the file stays in cache until it's manually cleared. Is there any way to prevent caching of such files? With jsp's i could just send the corresponding headers, but in case of binary content this approach does not work, so i'm guessing some modification of openCMS code is required?
Any suggestions are welcome,
Best regards,
Andrey
More information about the opencms-dev
mailing list