Hi,

I've been trying to create list definitions and adding
them to the onet.xml for the corresponding site. It takes forever for the
customization to appear. I disabled caching in the Web.config but that
doesn't seem to solve the problem. Is there somewhere where I can
disable that (at least temporarily)?

Any help would be appreciated.

--
I do it for a living, but you live with what I do.

RE: How to disable caching for SharePoint by v-wdxu

v-wdxu
Fri Sep 24 21:38:40 CDT 2004

------=_NextPart_0001_00DBF9C9
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

If we modify the template, each time when we create the customized list, it
will use the customized template not the default one. So if you are going
to create one default list, I'd suggest you can create one new list with
your template so that this will not affect the default ones.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_00DBF9C9
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs16 Hi,
\par
\par If we modify the template, each time when we create the customized list, it will use the customized template not the default one. So if you are going to create one default list, I'd suggest you can create one new list with your template so that this will not affect the default ones.
\par
\par Please feel free to let me know if you have any question.
\par
\par Best Regards,
\par Wei-Dong Xu
\par Microsoft Product Support Services
\par Get Secure! - www.microsoft.com/security
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_00DBF9C9--


RE: How to disable caching for SharePoint by a

a
Sat Sep 25 00:11:04 CDT 2004

Wei-Dong,

The problem is, no matter what I change in the onet.xml file, changes are
not reflected unless I restart IIS. This tells me it's a caching issue. Is
there an alternative better than restarting IIS?

Thanks.

"Wei-Dong XU [MSFT]" wrote:

> Hi,
>
> If we modify the template, each time when we create the customized list, it
> will use the customized template not the default one. So if you are going
> to create one default list, I'd suggest you can create one new list with
> your template so that this will not affect the default ones.
>
> Please feel free to let me know if you have any question.
>
> Best Regards,
> Wei-Dong Xu
> Microsoft Product Support Services
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights

RE: How to disable caching for SharePoint by v-wdxu

v-wdxu
Sat Sep 25 03:58:09 CDT 2004

------=_NextPart_0001_0237912F
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Thank you for correcting me!

I'd suggest you can disable the IIS caching to see whether this helps. The
IIS6 metabase key DisableStaticFileCache is used to control the caching of
static files for a directory; which is called NoCache in IIS 5.1 and 5.0.
You can follow the steps below to set the key with the Adsutil.vbs which
is located at c:\inetpub\AdminScripts by default in IIS6.
1. Open a command prompt and change to your C:\InetPub\AdminScripts folder.
2. Run the following command:
CSCRIPT ADSUTIL.VBS SET W3SVC/<site id>/DisableStaticFileCache "1"

The site id is the unique identifier number for each site in IIS6. When you
click the "Web sites" node of IIS6 mmc, you will see all the sites in this
IIS server with their corresponding site id. Set it in the command to
disable the caching.

Though IIS6 has built-in backup feature, I'd strongly suggest you can
create one backup for your metabase before this setting. You can right
click your IIS server node in the IIS mmc and choose "All
Tasks->Backup/Restore configuration...". In the pop-up window, please press
the "Create Buckup" button to create one backup.

Please feel free to let me know if this issue remains.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_0237912F
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs16 Hi,
\par
\par Thank you for correcting me!
\par
\par I'd suggest you can disable the IIS caching to see whether this helps. The IIS6 metabase key DisableStaticFileCache is used to control the caching of static files for a directory; which is called NoCache in IIS 5.1 and 5.0. You can follow the steps below to set the key with the Adsutil.vbs which is located at c:\\inetpub\\AdminScripts by default in IIS6.
\par 1. Open a command prompt and change to your C:\\InetPub\\AdminScripts folder.
\par 2. Run the following command:\tab
\par \tab CSCRIPT ADSUTIL.VBS SET W3SVC/<site id>/DisableStaticFileCache "1"
\par
\par The site id is the unique identifier number for each site in IIS6. When you click the "Web sites" node of IIS6 mmc, you will see all the sites in this IIS server with their corresponding site id. Set it in the command to disable the caching.
\par
\par Though IIS6 has built-in backup feature, I'd strongly suggest you can create one backup for your metabase before this setting. You can right click your IIS server node in the IIS mmc and choose "All Tasks->Backup/Restore configuration...". In the pop-up window, please press the "Create Buckup" button to create one backup.
\par
\par Please feel free to let me know if this issue remains.
\par
\par Best Regards,
\par Wei-Dong Xu
\par Microsoft Product Support Services
\par Get Secure! - www.microsoft.com/security
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_0237912F--


RE: How to disable caching for SharePoint by a

a
Mon Sep 27 10:05:02 CDT 2004

Hi Wei-Dong,

I followed the instructions you provided, but I still the same problem. Let
me tell you the exact steps I followed:

1. Since SharePoint is set-up under the Default Web Site node, I typed the
following command:

C:\Inetpub\AdminScripts>CSCRIPT ADSUTIL.VBS SET
W3SVC/1/DisableStaticFileCache "
1"

And I got this:

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

DisableStaticFileCache : (BOOLEAN) True

2. I restarted IIS.

It seems that these XML files are only read once: when the application
starts the first time. So after all, it may not be related to caching...

Would appreciate any further help you can offer.

Thanks

RE: How to disable caching for SharePoint by v-wdxu

v-wdxu
Mon Sep 27 22:48:59 CDT 2004

------=_NextPart_0001_108F65B5
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Based on my research now, for the list template, I'd suggest you;d better
to restart the IIS to make it applicable promptly. If not restart IIS, IIS
will restart it self after a idle time. In IIS6, if the IIS server has no
request coming in for some time, it will stop the worker process (the
application pool) so that this will help the system to keep the system
resource in a health state. When the OS System is in a heavy load, this
will free more resource for IIS to provide promtp response.

So for this issue, if you want to apply the customized tample to the server
immediately, you will need to run the IISreset to restart the IIS. If not,
after the idle time (default is 20 minutes), IIS will close the
site-related worker process. At the next start up of the worker process,
the customized template should be applied to your site.

The default time is located at:
1. right click the site-related worker process(application pool) node in
the IIS mmc.
2. choose "Properties"
3. choose "Performance" tab
4. The input box of Idle Time section will show you the idle time setting.
If you want to close the worker process in a shorter time than 20 minutes.
Please feel free to set the value.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_108F65B5
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs16 Hi,
\par
\par Based on my research now, for the list template, I'd suggest you;d better to restart the IIS to make it applicable promptly. If not restart IIS, IIS will restart it self after a idle time. In IIS6, if the IIS server has no request coming in for some time, it will stop the worker process (the application pool) so that this will help the system to keep the system resource in a health state. When the OS System is in a heavy load, this will free more resource for IIS to provide promtp response.
\par
\par So for this issue, if you want to apply the customized tample to the server immediately, you will need to run the IISreset to restart the IIS. If not, after the idle time (default is 20 minutes), IIS will close the site-related worker process. At the next start up of the worker process, the customized template should be applied to your site.
\par
\par The default time is located at:
\par 1. right click the site-related worker process(application pool) node in the IIS mmc.
\par 2. choose "Properties"
\par 3. choose "Performance" tab
\par 4. The input box of Idle Time section will show you the idle time setting. If you want to close the worker process in a shorter time than 20 minutes. Please feel free to set the value.
\par
\par Please feel free to let me know if you have any question.
\par
\par Best Regards,
\par Wei-Dong Xu
\par Microsoft Product Support Services
\par Get Secure! - www.microsoft.com/security
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_108F65B5--


RE: How to disable caching for SharePoint by a

a
Wed Sep 29 10:19:04 CDT 2004

It's really sad that I have to do that with every change I make! But it seems
I gotta live with it.

Thanks!

RE: How to disable caching for SharePoint by v-wdxu

v-wdxu
Wed Sep 29 22:50:53 CDT 2004

------=_NextPart_0001_012DA88C
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


You are welcome! :0)

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_012DA88C
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs16
\par You are welcome! :0)
\par
\par Best Regards,
\par Wei-Dong Xu
\par Microsoft Product Support Services
\par Get Secure! - www.microsoft.com/security
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_012DA88C--