Hi @pcsrac ,
I am not aware with your implementation , but I believe you need to remove the TS ASM Cookie ,
So you can check the below Article :
you will use an iRule to achieve this also I think you need to to do this in responses so you should change the "when HTTP_REQUEST_RELEASE " to be " when HTTP_RESPONSE_RELEASE " to make it triggers in response time instead of Request time.
you can also take a look in this Article : https://community.f5.com/t5/technical-forum/how-to-remove-the-asm-ts-cookie/td-p/129574
Some Cache CDN like “Google Cloud CDN” not caching when Set-cookie it is in response, but static pages, like images, is usefull they stay in cache, and not not arrive to ASM frecuently, CDN must respond to request. but for that could be an “feature option” for certain URL or filetypes not sent “Set-Cookie” to enable Cache proccessing.
I think irule option mencioned is a good but need to reduce the action for filetypes or url.