Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SharePoint caches templates?? 1

Status
Not open for further replies.

KurtGuenther

Programmer
Jun 1, 2005
1
US
Quick question:

Has anyone had any problems editing templates for SharePoint? I am editing the template aspx files with VS, saving and then attempting to create a site from these templates. The problem is that SP seems to cache these templates: the changes that I made to the aspx template file do not seem to be reflected in the new site I created.

Anyone have any opinions/answers for this?
 
Hello,

Does it work if you restart the IIS?
I have experienced some problems in the past, but I usually just restart the IIS when doing any modifications, to make sure the changes done will "kick-in".

Regards,
Thomas
 
Or instead of a IIS reset you could recycle the App pool. this way all other websites keep running, incase its on a production machine!

Another reason way your pages dont update is if they are "ghosted" by editting in frontpage that way the page doesn't match the original template and gets disconnected from them.

BTW i edit the original templates in notepad cos i have goten errors when edited in Frontpage! Also when i edit them this way the changes are reflected to the unghosted pages with just a refresh (or 2 :p)
 
Hello,

Good point Chaser! ;) That is a better way of doing it. Although for me it would not matter since I am running some 30 sites under the same App pool.

I know..I know... it is not the finest solution :p, but it does not take as much capacity from the machine as it would if I were using separate app pools for each site.

I have seen a figure somewhere that each site (top-level) will take between 30-50 MB of RAM if you run them in separate app pools.. anyone know if that is the case? (This was listed in Microsoft documentation somewhere.)

Regards,
Thomas

P.S Notepad rules - the best editor ever! (atleast in the M$ world)
 
You are right about that i believe there is a seperate w3wp process for each app pool (I am not a 100% about that! but pretty sure), i have 4 virtual webservers (Websites in IIS) running in diffrent app pools and they take between 40 - 65 mb each. But this does give you a more stable enviroment!

So its not an app pool per SiteCollection but per virtual webserver/website (IIS). And Thomas you could always use 3 app pools with 10 sites each :p


P.S. i so agree with notepad its the only microsoft product that does exactly what you want! :D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top