Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Site Cache

    Dear Friends,

    Dreamweaver uses an optional feature called "site cache".

    - Can I access the data of this site cache from a dreamweaver extension?
    - What kind of information are saved inside this site cache?
    - And can I change the caching behaviour of dreamweaver
    so that it is saving more information to the cache while caching than normal?

    Thank you very much for your answers!
    With best regards

    InnoRex Guest

  2. Similar Questions and Discussions

    1. site.getLocalPathToFiles() doesnt update when site.setCurrentSite() is called
      hi, i've been having issues with site.getLocalPathToFiles() getting the wrong sites path can anyone else confirm this? this is what im trying to...
    2. the remote site of web page is empty how can I moveeverything over from local site?
      I am new to using this Dreamweaver 3 software and I cannot update my website, due to the remote site being empty. How can I repopulate the remote...
    3. menu slice lines appearing on site / site visit/suggestions please TIA
      The following site: http://www.peterperret.com/ has a fireworks MX menu set. When mouseover occurs on the menu items (first two are active), it...
    4. lwp and dns cache
      I was wondering if there is anyway of having lwp cache its dns queries. What I am doing is getting dynamic data from various sites every five...
    5. PHP issues when creating site cache
      Hello, I posted to the forum last friday that I was having problems getting DW MX to work correctly....
  3. #2

    Default Re: Site Cache

    No, there's no way to access that cache directly via the JS API.

    Please explain more generally what you'd like to do and maybe there's a
    different approach or technique for solving it.

    Randy

    > Dreamweaver uses an optional feature called "site cache".
    >
    > - Can I access the data of this site cache from a dreamweaver extension?
    > - What kind of information are saved inside this site cache?
    > - And can I change the caching behaviour of dreamweaver
    > so that it is saving more information to the cache while caching than normal?
    Randy Edmunds Guest

  4. #3

    Default Re: Site Cache

    Thank you for your answer.

    I want to access the cache for retrieving a list of all php-functions for a specific file.
    But it is not possible you said. - Is there another way?

    With best regards
    InnoRex Guest

  5. #4

    Default Re: Site Cache

    You'll need to call:

    dw.getDocumentDOM(file);

    For each file you're interested in, and it will be opened internally and
    you'll have access to the file as if it were opened by the user.

    I suppose that you could create your own cache (stored in an XML file?),
    then compare filedate with a cached filedate to determine if the user
    has edited the file since the last time you cached the info (and the
    data is valid or stale).

    HTH,
    Randy

    > I want to access the cache for retrieving a list of all php-functions for a specific file.
    > But it is not possible you said. - Is there another way?
    Randy Edmunds Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139