December 23rd, 2006, 11:06 PM
More on ajax....
We know that ajax is used for dynamic interaction with server without page refresh. Even though the ajax is used for fast server interaction, it is fairly a difficult process for db access. That'z it should create a new connection every time it get into the server.
To overcome this problem, we use ajax with cache.
How do I implement the 'cache' to the system that i have developed?
This cache is only required if i have a database in vb.net, becoz, as i mentioned i am using this s/w to develop my system. But if i connect online directly, than i do not need the cache, correct?
Last edited by __gini2; December 23rd, 2006 at 11:17 PM.
January 3rd, 2007, 11:33 PM
Re: More on ajax....
Cache is recommended for static content. If content changes every time an ajax call has to be done (ajax call returns different content from before call), then cache will only be an unused extra layer between the process making things more slow.
I use ajax in the CMS i'm coding only in parts where it will clearly be effective.
In resume, if you need ajax you don't want caching and vice-versa (some exceptions aply).
All consequences are eternal in some way.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!