Connecting Tech Pros Worldwide Forums | Help | Site Map

TTL in the Assembly Download Cache

Jeff B.
Guest
 
Posts: n/a
#1: Jul 21 '05
Hello,

Can anyone tell me how long an assembly downloaded via a no-touch
application will remain in the assembly download cache? I realize I can
manually remove them via the "gacutil.exe /cdl" command, however, I'm
curious how long they'll stick around if they are never manually removed.

There are two reasons I am asking this:

1) Users with only the runtime version of the .NET Framework will not have
the "gacutil.exe" utility and therefore can't manually clear the cache.

2) As new versions of a downloaded assembly are made available, older
versions remain in the cache.

Any insight as to how long they will remain is greatly appreciated.

--
Thanks, Jeff



Jan Tielens
Guest
 
Posts: n/a
#2: Jul 21 '05

re: TTL in the Assembly Download Cache


I thought the size was set default to 50MB. If it gets full the assembly
that is not used for the longest time will be deleted from the cache. This
mechanism works in the same way as the cache in Internet Explorer.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <jeff@nowhere.com> schreef in bericht
news:%23AoqMikzDHA.4064@tk2msftngp13.phx.gbl...[color=blue]
> Hello,
>
> Can anyone tell me how long an assembly downloaded via a no-touch
> application will remain in the assembly download cache? I realize I can
> manually remove them via the "gacutil.exe /cdl" command, however, I'm
> curious how long they'll stick around if they are never manually removed.
>
> There are two reasons I am asking this:
>
> 1) Users with only the runtime version of the .NET Framework will not have
> the "gacutil.exe" utility and therefore can't manually clear the cache.
>
> 2) As new versions of a downloaded assembly are made available, older
> versions remain in the cache.
>
> Any insight as to how long they will remain is greatly appreciated.
>
> --
> Thanks, Jeff
>
>[/color]


Jeff B.
Guest
 
Posts: n/a
#3: Jul 21 '05

re: TTL in the Assembly Download Cache


> I thought the size was set default to 50MB. If it gets full the assembly[color=blue]
> that is not used for the longest time will be deleted from the cache. This
> mechanism works in the same way as the cache in Internet Explorer.[/color]

Yeah, I just found something stating the same thing. Do you (or anyone
else) know if this 50MB value is configurable?

--
Thanks, Jeff



Jan Tielens
Guest
 
Posts: n/a
#4: Jul 21 '05

re: TTL in the Assembly Download Cache


Yes you can configure it:
- In an explorer window navigate to C:\WINDOWS\assembly\Download (or
C:\WINNT\assembly\Download)
- Then choose "Cache Settings..." from the Extra menu.
- In the store limits frame you can alter the size.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <jeff@nowhere.com> schreef in bericht
news:%23babV0kzDHA.2180@TK2MSFTNGP12.phx.gbl...[color=blue][color=green]
> > I thought the size was set default to 50MB. If it gets full the assembly
> > that is not used for the longest time will be deleted from the cache.[/color][/color]
This[color=blue][color=green]
> > mechanism works in the same way as the cache in Internet Explorer.[/color]
>
> Yeah, I just found something stating the same thing. Do you (or anyone
> else) know if this 50MB value is configurable?
>
> --
> Thanks, Jeff
>
>
>[/color]


Jeff B.
Guest
 
Posts: n/a
#5: Jul 21 '05

re: TTL in the Assembly Download Cache


> Yes you can configure it:[color=blue]
> - In an explorer window navigate to C:\WINDOWS\assembly\Download (or
> C:\WINNT\assembly\Download)
> - Then choose "Cache Settings..." from the Extra menu.
> - In the store limits frame you can alter the size.[/color]

Thanks again. That's useful information. The odd thing is, my download
size is set to 1MB (not the 50MB default) but the cache currently contains
13MB of files (obviously over the 1MB limit). The help page associated with
this dialog also shows a cache size of 1MB in the screenshot of the
properties dialog. I wonder if this 1MB size is just a fluke and it's
really 50MB until changed?

--
Thanks, Jeff


Jan Tielens
Guest
 
Posts: n/a
#6: Jul 21 '05

re: TTL in the Assembly Download Cache


Jeff

I have no idea... Maybe some MS guys/girls?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <jeff@nowhere.com> schreef in bericht
news:%23FTaQJlzDHA.2680@TK2MSFTNGP11.phx.gbl...[color=blue][color=green]
> > Yes you can configure it:
> > - In an explorer window navigate to C:\WINDOWS\assembly\Download (or
> > C:\WINNT\assembly\Download)
> > - Then choose "Cache Settings..." from the Extra menu.
> > - In the store limits frame you can alter the size.[/color]
>
> Thanks again. That's useful information. The odd thing is, my download
> size is set to 1MB (not the 50MB default) but the cache currently contains
> 13MB of files (obviously over the 1MB limit). The help page associated[/color]
with[color=blue]
> this dialog also shows a cache size of 1MB in the screenshot of the
> properties dialog. I wonder if this 1MB size is just a fluke and it's
> really 50MB until changed?
>
> --
> Thanks, Jeff
>
>[/color]


Closed Thread


Similar .NET Framework bytes