Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Populate cache not executing when kept in preflow request path

Not applicable

mycachetest-rev2-2016-04-03.zipI have kept Populate Cache in preflow request path.Once I clear the cache ,I dont see it executing.But if I keep the populate cache policy in preflow response path,its executing.

Please let me know why its is behaving so.

I have attached my proxy bundle for reference.

Solved Solved
0 8 268
1 ACCEPTED SOLUTION

Not applicable

@arghya das @Prithpal Bhogill @Dino

Finally I got what is the issue.

<GenerateResponse/> in OAuth2 GenerateAccesstoken policy was causing the issue.It didnt allow any of the policies to execute following it.I even confirmed by creating an AssignMessage policy after OAuthv2 policy and it didnt execute.I removed the tag and now PopulateCache is working fine in preflow itself.

Ya..I got that my usecase is weird to use clientid for caching accesstoken.But I am just doing a poc to understand PopulateCache..So,I feel its fine.

View solution in original post

8 REPLIES 8
Top Solution Authors