I see. IMHO, it would be more efficient to load that captcha question via ajax 
on demand and keep page cached.
Benefit is 2-fold
- bots that don't process the javascript would not even see the question
- lower load on the server as only necessary info will be transferred.
... of course such approach has an issue with users/browsers w/o JS all 
together.

To answer the original question, you need to do 2 things - first exclude the 
page from Magnolia cache - that should be covered by Rakesh's original 
suggestion and second you need to configure it in browserCachePolicy - the 
answer I sent to Matt few minutes ago should apply to that - add voter that 
matches your page to "dontCachePages" voter list in the browserCachePolicy 
policies list.

HTH,
Jan

On May 10, 2011, at 5:12 PM, Marvin Kerkhoff wrote:

> Hi Jan,
>  
> i’ve build an text captcha on http://www.novanet-solutions.ch/contact.html an 
> these captcha are cached from the Server. It is written in JSP.
>  
> Greatings,
>  
>  


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to