Jump to content

Channel plugin question invalidating DataVersion


chef

Recommended Posts

chef

In my channel plugin configuration page, I have it setup to be able to create new ChannelItems.

 

When the first item is created, there doesn't seem to be any issue with it appearing in the channel.

 

However, when a second item is created it doesn't want to show up.

 

Is this because I haven't updated the DataVersion property in the Channel class properly?

 

Will that invalidate the cache of channel items and allow the new item to appear?

 

Thank you

Link to comment
Share on other sites

No, don't do that. The server caches channel results internally for a day or so. Have the plugin implement IHasCacheKey.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...