Caching a dynamic link on TMG...


  • Dear Experts,

    Due to a high bandwidth utilization by one of the newspaper website and by looking to our TMG Reports, we found that "" is one of the top site in term of internet connection consumption.

    We are planning to enable TMG caching against the mentioned site to reduce the bandwidth overhead, but I need your advise on the below:

    1.      Caching the entire domain "" is somehow costly because it will download the entire content of the site, which is not required.
    2.      By looking to detailed report about the user usage, we found that the users are downloading the PDF copy of the newspaper on daily basis from the following link

    "*.*" . The red part of the link is a newspaper issue number and it’s a variable integer which will be incremented by +1 daily.


    Sunday Newspaper issue: “”<o:p></o:p>

    Monday Newspaper issue: “”<o:p></o:p>

    Tuesday Newspaper issue: “”

    Is there any possibility for TMG to cache "<system variable>/pdf/*.*". and define a windows system variable with the issue number? Undoubtedly, there will be a daily scheduled task to increment the system variable of the newspaper issue number by +1.

    Please let us know the possibility of implementing the above scenario.

    Best Regards :)

    Thursday, January 03, 2013 6:55 AM


  • I just tried downloading one of the above pdf's using the dev tools in IE and saw that there are no caching related headers. This means that you can just enable caching on TMG and let TMG handle this by itself. First user that requests the file will download it and any subsequent requests will use the cached copy.

    Start by looking here.

    Hth, Anders Janson Enfo Zipper

    Thursday, January 03, 2013 9:48 AM