coolite.axd and cache private

  1. #1

    coolite.axd and cache private

    Hi guys,

    When I set debug on false, webresource.axd starts to cache data, no coolite.axd.

    Do I miss something in configuration file ?

    Thks
  2. #2

    RE: coolite.axd and cache private

    I think you miss something to not taking seriously this subject.

    If you don't set cache to public, on every load page, you download all axd calls instead of loading from cache.






  3. #3

    RE: coolite.axd and cache private

    Hi,

    Browsers automatically caches javascript files. So, js files which gives coolite.axd handler downloaded only once. At least such behaivor have all my browsers


    May be you can provide more details about your problem. We will be gald to help you
  4. #4

    RE: coolite.axd and cache private

    Hi,

    Can you check with firebug, I have other behavior on Firefox.


    I agree on the fact browser cache js files, but calling coolite.axd and getting javascript file from it, it's not equal to download directly a js.


    Here is the response header, you can see the cache_control, set to private. It implies not caching it.


    I attached a print screen of firebug to show headers.


    With WebResource.axd, the behavior is : if you set debug to true, resource are always downloaded. If false, cache takes care of optimization.




    Jerome

  5. #5

    RE: coolite.axd and cache private

    Hi Jerome,

    I think the "Cache-Control" header always returns "private" for all files when running under Cassini (local VS web server).


    The "Cache-Control" should return "public" when served from IIS.


    We also just fixed a couple bugs and revised the caching logic for coolite.axd files. They appear to be caching properly now and returning a 304 response if nothing has changed. The caching works properly in IIS and localhost.


    The changes have been committed to SVN and will be publicly available with the next release.


    Geoffrey McGill
    Founder
  6. #6

    RE: coolite.axd and cache private

    Hi Geoffrey,

    Great news, a lot of call to coolite.axd is done on load, I'm sure your changes will improve loading time !


    Have a nice day !


    Jerome

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. Calling Private method as Message box handler
    By deeptechtons in forum 1.x Help
    Replies: 4
    Last Post: Dec 12, 2010, 2:05 AM
  4. Private Store Object for a page
    By venuc in forum 1.x Help
    Replies: 0
    Last Post: Jan 20, 2010, 8:33 AM
  5. [CLOSED] Cache in Ajax
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 15, 2009, 2:02 PM

Posting Permissions