|
ABCpdf holds a cache of recently requested URLs and it's only
after five minutes or so that these pages expire from the
cache.
This results in a considerable degree of optimization for many
common operations. However if you wish to bypass the cache you can
do so by setting the DisableCache parameter to true when you call
AddImageUrl or AddImageHtml.
Occasionally you may find that your page is being cached
elsewhere. There are all kinds of places this can happen. For
example Windows sometimes caches individual page resources. Proxy
servers may cache entire pages.
The standard reason that content gets cached is because pages
are sending http header information which indicates that it is
acceptable to cache this content. So if particular items are being
cached inappropriately your first step should be to use a tool like
IEWatch to view the content expiration headers. Indeed you may find
that simply adjusting the content expiration settings found in the
IIS Management Console will resolve the issue.
If you want to be totally sure that your URLs are rendered
afresh each time you need to vary the URL. For example:
http://www.microsoft.com/?dummy=1
http://www.microsoft.com/?dummy=2
http://www.microsoft.com/?dummy=3
These will all render the same page (www.microsoft.com) but
because the URL is varying you can be sure that they will be
rendered afresh each time.
|