Le 30/12/10 13:08, Thorsten Scherler a écrit :
Hi all,
I wonder is there a reason why nobody did
-public class XMLSerializer extends EncodingSerializer {
+public class XMLSerializer extends EncodingSerializer implements
CacheableProcessingComponent {
I am doing some caching enhancement for a client and using the profiler
I found out that my 100% cacheable page did not return 304. So I
stumbled upon the above.
When I make the XMLSerializer implementing CacheableProcessingComponent
the whole pipeline is returning 304 which I am looking for that the
status is for the response.
Without the above patch I always get a 200 since the serializer is not
cacheable hence the whole pipe.
Is there an obvious reason that I am not seeing why the serializer
should not be cacheable?
This is obviously an error, and the "other" serializer in
org.apache.cocoon.serialization.XMLSerializer is cacheable.
Sylvain
--
Sylvain Wallez - http://bluxte.net