Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IWProxy/IIS Caching?
seeDerekNow
We have this weird problem with TS and IIS. It seems like when we edit a file and submit to staging, we cant see the changes when we preview the same file in staging. The file shows up in the submit log and the time/date stamp is correct, however we can't see the changes. Restarting iwproxy cures it until the next time we submit an edited file.
We have an open ticket w/ support, but i was just wondering if anyone else ran into this problem. At this point i'm guessing either iw proxy or IIS is caching pages.
Any thoughts?
Derek
Find more posts tagged with
Comments
YOKE
I have encountered similar problem.
You may wants to remove the browser caching (Tools->Internet options, delete cookies, delete all offline contents and maybe set the setting to "Every visit to the page") and close all browser.
Sometimes I even restart the web server.
One of the above tricks usually work when I cannot get the updated content.
java_prog.txt
Jeremy
Hi,
I have seen this problem before. I think there was some setting in the IIS we did to stop it. We found that IIS seemed to cache the page for about 30 seconds or so and if we did a preview after that it was ok.
I pulled out the below from the support site - I think this is what we did to fix it, but can't remember as I am on a different project now.
Hope it helps and good luck!
Disabling IIS Caching
Knowledge Base Article: 48906
Type: Tech Note
Synopsis
IIS caches all accessed files for a short period, which causes out-of-date preview pages to display in TeamSite templating.
Details
IIS caches all files accessed via HTTP or FTP for about 30 seconds. This can cause problems when rapidly changing and previewing templates. To disable caching on IIS, use regedit to create a new DWORD value at
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters\DisableMemoryCache,
setting the value to "1". Then stop and re-start the web server. This will disable all caching by IIS, including FTP.
Note that this can be a performance problem if the server is being used for other tasks besides TeamSite virtualization, because all pages will be re-loaded every time they are accessed.
seeDerekNow
Thanks! I appreciate the tip. The weird thing is that the problem only occurs in staging. We submit all the files, overwrite all conflicts, and the file is still displayed as the previous version. I'm wondering if anyone else has seen this. The fact that it only happens in staging tells me it's more on the IW Proxy side than on the IIS side.
Derek
tiroth
We've had this reported as a bug since Teamsite 5 was released.
Ottawa_IWOV
Anyone know how to disable IIS caching WITHOUT manually updating the registry?
Thanks,
iwovGraduate
Try:
net stop w3svc
cscript adsutil.vbs set W3SVC/AspScriptFileCacheSize 0
net start w3svc
Or:
(might be a little different depending on your IIS version)
1. Open IIS Admin Console
2. Expand "<hostname>" --> "Default Web Site" --> "iw-mount"
3. Right Click on "iw-mount"
4. Click on "Properties"
5. Click on "HTTP Headers" tab.
6. Under "Custom HTTP Headers", Click on "Add". This will bring up "Add/Edit Custom HTTP Header" dialog.
7. Enter "Cache-Control" for "Custom Header Name"
8. Enter "no-cache" for "Custom Header Value"
9. Click "OK" on the "Add/Edit Custom HTTP Header" dialog.
10. Click "OK" on the "iw-mount Properties" dialog.
11. Run "net stop w3svc" to stop IIS.
12. Run "net start w3svc" to start IIS.
You might also want to search Microsoft KBs for more details on caching in IIS.
CRB
i am having this problem, where i edit files, but i dont see them changed even after i upload them back to workarea... it takes about 5 mins to see my changes. i tried to do the changes suggested but my issue still presists, this is on TS 6.5 SP2 on w2k3