[CLOSED] Cache in Ajax

  1. #1

    [CLOSED] Cache in Ajax

    Hi..
    I was wondering some thing in PHP. While writing any code in ajax we also used to add these functionalities in header so cache is disabled

    
    <DIV class=codecontent><?php <B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    <B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">Cache[/B]-Control: no-store, no-<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">cache[/B], must-revalidate");
    <B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">Cache[/B]-Control: post-check=0, pre-check=0", false);
    <B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("Pragma: no-<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">cache[/B]");   ?>
    So in elimates the cache problem.

    Is there any thing in coolite toprovide this for cache problem

    thanks you,

    Regards,
    Madan
  2. #2

    RE: [CLOSED] Cache in Ajax

    Hi,

    All Coolite Ajax requests have parameter with unique value which prevent caching. Plus you can set headers (like your described) in your page using


    this.Page.Response.Headers

Similar Threads

  1. Ext cache large data
    By huathaiphong in forum 1.x Help
    Replies: 2
    Last Post: May 24, 2012, 11:03 AM
  2. Cache panel content
    By Tallmaris in forum 1.x Help
    Replies: 6
    Last Post: Aug 15, 2011, 1:40 PM
  3. coolite.axd and cache private
    By jeybonnet in forum 1.x Help
    Replies: 5
    Last Post: Jun 22, 2009, 4:26 PM
  4. [CLOSED] <ext:Imagebutton cache size?
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Mar 05, 2009, 6:32 AM

Posting Permissions