Do you have a example of that, because I think we need to pass in the visited page to the javascript function to make sure the profile get updated for the request page.
I do not have sample code for this. Basically the solution is not ideal as you would need to create several pages that would mimic the profile change of the cached pages. Probably the overhead would kill the performance gained by caching these pages.
Also, you would probably want to display dynamic feeds based on the profile which will obviously not be cached.
Spindoctor and caching
Hi,
We are evaluating spindoctor.
One question that I can't find a answer too is if the profiling engine will worked in combination with (donut) output cache ?
Dave
Hi Dave,
No, you will need to create a Javascript trigger that will load a non-cached (bare) page.
Cheers,
Wouter
Do you have a example of that, because I think we need to pass in the visited page to the javascript function to make sure the profile get updated for the request page.
Dave
Hi Dave,
I do not have sample code for this.
Basically the solution is not ideal as you would need to create several pages that would mimic the profile change of the cached pages. Probably the overhead would kill the performance gained by caching these pages.
Also, you would probably want to display dynamic feeds based on the profile which will obviously not be cached.
Cheers,
Wouter
Displayin dynamic feeds based on profile is possible, because with donut caching you can exclude MVC actions from the page cache.
Would id be sufficient to create a ajax hanlder.
That takes 1 parameter, the node id.
Based on that I can get the profiling attribute values from the node.
And then using the spindoctor API I can set use AddComponentScore.
Will this work for updating the profile ?
Dave
Hi Dave,
Yes, that should work.
Cheers, Wouter
is working on a reply...