# Application caching in the browser?

**URL:** <https://www.ruby-forum.com/t/application-caching-in-the-browser/173837>\
**Category:** Rails\
**Created:** [August 16, 2009, 10:11am UTC](https://www.ruby-forum.com/t/application-caching-in-the-browser/173837 "2009-08-16T10:11:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Audrey\_A\_Lee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f475e1/32.png) [@Audrey\_A\_Lee](https://www.ruby-forum.com/u/Audrey_A_Lee)\
**Post date:** [August 16, 2009, 10:11am UTC](https://www.ruby-forum.com/t/application-caching-in-the-browser/173837/1 "2009-08-16T10:11:17Z")

</div>

Hello people,

Are any of you implementing application caching in the browser?

Here is the use-case I am interested in:

End-user-Bob uses his browser to navigate to  
the\_bob\_end\_user\_crm\_app.com

While there he navigates to these URLs:

the\_bob\_end\_user\_crm\_app.com/accts/show/123  
the\_bob\_end\_user\_crm\_app.com/accts/show/321  
the\_bob\_end\_user\_crm\_app.com/accts/show/45678

Each of the above URLs displays dynamic HTML from Rails or an app-  
server.

Next, he disconnects his browser from the web.

He navigates to this URL:

the\_bob\_end\_user\_crm\_app.com/accts/show/87654

He receives a message:

You are not connected to the net.  
the\_bob\_end\_user\_crm\_app.com/accts/show/87654  
is unavailable.

He navigates to this URL:

the\_bob\_end\_user\_crm\_app.com/accts/show/123

He sees HTML which is cached in his browser via “application caching”

Are any of you doing anything like this?

I know it is possible because [gmail.com](http://gmail.com) exhibits this type of  
behavior.

I’m looking for demos/tutorials/discussions which would teach me how  
to do this.

Thanks,

Audrey

---

<div class="post-metadata">

**Author:** ![Audrey\_A\_Lee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f475e1/32.png) [@Audrey\_A\_Lee](https://www.ruby-forum.com/u/Audrey_A_Lee)\
**Post date:** [August 16, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/application-caching-in-the-browser/173837/2 "2009-08-16T17:47:48Z")

</div>

On Aug 15, 9:46 pm, Audrey A Lee [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello people,
> 
> Are any of you implementing application caching in the browser?  
> […]  
> I’m looking for demos/tutorials/discussions which would teach me how  
> to do this.

To the extent that the browser cache doesn’t already make this  
possible, perhaps it’s worth looking at Google Gears?

> Thanks,
> 
> Audrey

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
