Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

Search and cache invalidation #57

Closed RicLund closed 6 years ago

RicLund commented 6 years ago

To ensure search and cache are invalidated, do we just need to: 1) Choose the right entities in the Web Notification solution 2) Setup entries in Web Notification URLs 3) Save and Publish back in the solution?

If so what URL(s) in (2)? Just http://HOSTNAME/WebNotification.axd ? Any changes to web.config required?

Also on search, should I be seeing the actual files in App_Data getting updated if this is working? I can see they are old and aren't changing as we add more data.

RicLund commented 6 years ago

OK, went back to square one with auto cache invalidation, pulled from multiple docs and got it working.

Now for search - can't seem to get it refreshing - will raise a separate issue.

jayrodmcneil commented 6 years ago

Have some Coles notes on the auto cache invalidation you got working? :)

We seem to be in good shape, but would you like to have an idea of what you put in place to see if there's any differences/advantages.

On Wed, Feb 28, 2018, 7:40 AM riclund, notifications@github.com wrote:

OK, went back to square one with auto cache invalidation, pulled from multiple docs and got it working.

Now for search - can't seem to get it refreshing - will raise a separate issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/57#issuecomment-369227279, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad_am2vV3fXeokFq6J0aJ7TTtU7xaqx1ks5tZUk8gaJpZM4SPQ9R .

--

Cheers, Jason

bewnetg commented 6 years ago

Would you be able to share how you got the auto cache invalidation? I've been struggling with it for a while.

RicLund commented 6 years ago

I updated the wiki page with some info that helped me.

bewnetg commented 6 years ago

Awesome, thank you!