More on ajax....
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: More on ajax....

  1. #1
    Join Date
    Nov 2006
    Posts
    37

    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 10:17 PM.

  2. #2
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    730

    Talking 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center