tag:blogger.com,1999:blog-2889416825250254881.post3451916639472667730..comments2024-01-27T11:41:32.146+00:00Comments on Byte Rot: CacheCow 0.5.0-alpha released for community review: new features and breaking changesaliostadhttp://www.blogger.com/profile/05695786967974402749noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2889416825250254881.post-75700964946626507352014-07-10T23:13:07.659+01:002014-07-10T23:13:07.659+01:00Hi Sophie. I think I need to add a FAQ and common ...Hi Sophie. I think I need to add a FAQ and common scenario list on GitHub which I will try to do. Now, in terms of the scenario you have in mind, it is possible but you have to implement that yourself. CacheCow only supports one level invalidation (collection and instance resource such as cars/1 and cars/) and more levels need to be implemented by the application. Please ask the question in GitHub (open an issue) and I can provide more insight.aliostadhttps://www.blogger.com/profile/05695786967974402749noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-71069513193426477292014-07-09T10:38:48.251+01:002014-07-09T10:38:48.251+01:00Hi aliostad,
thanks for creating CacheCow, at fir...Hi aliostad,<br /><br />thanks for creating CacheCow, at first glance it looks really nice and easy to set up. However, I'm having difficulties in finding documentation on how to use CacheCow after the initial setup. In your blog posts and on GitHub there's much talk about things like CacheControlPolicy and RoutePatterns, but I can't find any documentation on how to use them.<br />Specifically, in my project I need more control in my resources (server side) to invalidate the cache. E.g. a PUT on resource 'orderline' should invalidate the cache for resource 'order'. Can I do that with CacheCow? Where to find documentation?<br /><br />Thanks!<br />SophieSophiehttps://www.blogger.com/profile/04711586564083387704noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-26904632563620226962014-03-20T16:49:29.427+00:002014-03-20T16:49:29.427+00:00Hi aliostad,
I already had a look at the code and...Hi aliostad,<br /><br />I already had a look at the code and I had the impression that the ContentHashETagGenerator was triggered by the ContentHashETagAttribute. If you tell me where the missing parts are, I could even help you to get it done.<br /><br />Best regards<br /><br />FlorianFlorian H.https://www.blogger.com/profile/11007783477931692250noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-72876764639469284122014-03-20T15:07:00.401+00:002014-03-20T15:07:00.401+00:00Hi Florian. I am pleased to hear that. I am hoping...Hi Florian. I am pleased to hear that. I am hoping to make it a better with your feedbacks.<br /><br />This is an area I am working on as it is a common use case. If you browse the code, you will find this the class ContentHashETagGenerator. Version 0.5 will have this functionality.aliostadhttps://www.blogger.com/profile/05695786967974402749noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-11760779938395904782014-03-20T10:59:15.367+00:002014-03-20T10:59:15.367+00:00Hi aliostad,
CacheCow is really a nice piece of s...Hi aliostad,<br /><br />CacheCow is really a nice piece of software and I like it very much. In my current WebAPI project unfortunately not all resources are changed by http post/put/delete, so that I would need a mechanism in order to generate the ETag according to the (everytime generated) result object. Could you please give me a hint whether I can use CacheCow in this way?<br /><br />Thanks in advance<br /><br />Best regards<br /><br />FlorianFlorian H.https://www.blogger.com/profile/11007783477931692250noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-23058603850239326072013-12-30T05:51:22.276+00:002013-12-30T05:51:22.276+00:00Thanks, It's working now :)Thanks, It's working now :)Anonymoushttps://www.blogger.com/profile/03664466020403769401noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-56654714925726505002013-12-27T10:52:11.190+00:002013-12-27T10:52:11.190+00:00I have explained about the constructor change in t...I have explained about the constructor change in the article "This has been removed now so an instance of HttpConfiguration needs to be passed in".<br /><br />For assembly issues, you need to use assembly redirect. Something similar to this:<br /><br />http://stackoverflow.com/questions/19491860/could-not-load-file-or-assembly-system-web-http-4-0-0-after-update-from-2012-toaliostadhttps://www.blogger.com/profile/05695786967974402749noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-3266786718162202002013-12-27T09:21:57.850+00:002013-12-27T09:21:57.850+00:00And now there is no default constructor available ...And now there is no default constructor available for CachingHandler class. <br /><br />Any particular reason to remove the default constructor ?<br />Or, now we don't need to add the CacheHandler object to HttpConfiguration's MessageHandlers ?Anonymoushttps://www.blogger.com/profile/03664466020403769401noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-51046505189948058462013-12-27T09:07:53.507+00:002013-12-27T09:07:53.507+00:00Thanks.
This issue is fixed but now getting foll...Thanks. <br /><br />This issue is fixed but now getting following error:<br /><br />Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)Anonymoushttps://www.blogger.com/profile/03664466020403769401noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-9744983866325170422013-12-26T16:51:02.465+00:002013-12-26T16:51:02.465+00:00Thank you! I have just uploaded the missing packag...Thank you! I have just uploaded the missing package. Please let me know if it does not work.aliostadhttps://www.blogger.com/profile/05695786967974402749noreply@blogger.comtag:blogger.com,1999:blog-2889416825250254881.post-9540339390564362702013-12-26T07:40:58.995+00:002013-12-26T07:40:58.995+00:00CacheCow.Server 0.5.0-alpha has dependency on &quo...CacheCow.Server 0.5.0-alpha has dependency on "CacheCow.Common (≥ 0.5.0)", but it is not available and installation of CacheCow.Server 0.5.0-alpha is failing.Anonymoushttps://www.blogger.com/profile/03664466020403769401noreply@blogger.com