﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Jean,
This is only available on 2.5.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment18</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment18</guid><pubDate>Thu, 28 Mar 2013 21:01:45 GMT</pubDate></item><item><title>Jean Pierre commented on Aggressive caching: Pacified</title><description>I am working on an application using RavenDB, using the latest packages from nuget. I haven't seen this functionality working. Is there anything special that needs to be set for this to work?  Thanks.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment17</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment17</guid><pubDate>Thu, 28 Mar 2013 18:56:32 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Shifatullah,
This is attached to the store, not the session. Session are very short lived, and caching stuff on them makes very little sense.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment16</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment16</guid><pubDate>Wed, 27 Mar 2013 08:16:09 GMT</pubDate></item><item><title>Shifatullah commented on Aggressive caching: Pacified</title><description>Since the functionality being called through store, is cache attached to store or to session? and if we close the session, will it clear the cache?</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment15</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment15</guid><pubDate>Wed, 27 Mar 2013 05:07:57 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Catalin,
But the aggressive caching ISN'T talking to the server.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment14</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment14</guid><pubDate>Tue, 19 Mar 2013 09:18:51 GMT</pubDate></item><item><title>Catalin Pop commented on Aggressive caching: Pacified</title><description>One definition for "aggressive" is : "deliberately unfriendly behavior involving forcing, constraining or overruling"

There's no overruling here being done by the client if the server can invalidate the caches, which means "Aggressive" doesn't seem to be appropriate name in this case.

My 2c</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment13</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment13</guid><pubDate>Tue, 19 Mar 2013 09:17:03 GMT</pubDate></item><item><title>configurator commented on Aggressive caching: Pacified</title><description>Awesome feature. It really sounds like it should be smarter about disconnects, with at least an option to automatically clear the cache - or possibly a smarter way to find out what needs to be cleared.

But really, awesome feature.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment12</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment12</guid><pubDate>Tue, 19 Mar 2013 00:16:38 GMT</pubDate></item><item><title>John Clayton commented on Aggressive caching: Pacified</title><description>So is the API for using aggressive caching still the same with the exception of being able to use a longer timeout?</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment11</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment11</guid><pubDate>Mon, 18 Mar 2013 17:31:26 GMT</pubDate></item><item><title>David Boike commented on Aggressive caching: Pacified</title><description>@Darius Because Raven also includes automatic caching of all documents. If you request a document that already exists in cache, Raven will tell the server "I would like this document, but I already have version X in my cache" using the standard HTTP mechanics of passing the last modified date. If the document has not been modified, the server will send back a 304 Not Modified, and the client will give you back the cached version. So that is the "normal" caching, and the "aggressive" caching is the additional choice to skip talking to the server at all.

@Ayende, this is AWESOME by the way, thank you!</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment10</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment10</guid><pubDate>Mon, 18 Mar 2013 13:39:54 GMT</pubDate></item><item><title>Darius commented on Aggressive caching: Pacified</title><description>Lol, why the word aggressive?  :)
It doesn't add anything, it's still just normal caching. I'd go with simpler 
using (session.Advanced.DocumentStore.CacheFor.Minutes(5))

or smth similar.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment9</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment9</guid><pubDate>Mon, 18 Mar 2013 13:15:25 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Harry,
Yes, that is available in the API.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment8</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment8</guid><pubDate>Mon, 18 Mar 2013 11:29:17 GMT</pubDate></item><item><title>Harry McIntyre commented on Aggressive caching: Pacified</title><description>Is there some way you can hook into the disconnection event so you could opt in to invalidate-on-disconnect?</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment7</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment7</guid><pubDate>Mon, 18 Mar 2013 11:28:52 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Māris,
For cases where you have actual disconnection.
Note that we also have just AggressiveCache() method.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment6</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment6</guid><pubDate>Mon, 18 Mar 2013 11:03:23 GMT</pubDate></item><item><title>Māris Krivtežs commented on Aggressive caching: Pacified</title><description>If server sends notifications about changes, why cache duration is needed? If cache is expired application will be notified.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment5</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment5</guid><pubDate>Mon, 18 Mar 2013 11:00:11 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Harry,
No, the client will try to reconnect automatically. But it is a possibility, that is why it is still an active decision on your part.</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment4</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment4</guid><pubDate>Mon, 18 Mar 2013 10:42:52 GMT</pubDate></item><item><title>Harry McIntyre commented on Aggressive caching: Pacified</title><description>Now that sounds good. If the client is disconnected, is the cache cleared automatically? (i.e. is there any way the client could miss the notification?)</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment3</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment3</guid><pubDate>Mon, 18 Mar 2013 10:35:36 GMT</pubDate></item><item><title>Ayende Rahien commented on Aggressive caching: Pacified</title><description>Dario,
Evict what?</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment2</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment2</guid><pubDate>Mon, 18 Mar 2013 10:26:03 GMT</pubDate></item><item><title>dario commented on Aggressive caching: Pacified</title><description>Why there is no 'evict'?</description><link>http://ayende.com/161377/aggressive-caching-pacified#comment1</link><guid>http://ayende.com/161377/aggressive-caching-pacified#comment1</guid><pubDate>Mon, 18 Mar 2013 10:23:39 GMT</pubDate></item></channel></rss>