![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi We use few .xml and .xsl files in our web application and we found that these files even though fairly static gets downloaded to the client's machine everytime the page is refreshed. Is there a way we can instruct so that these files only gets downloaded to the client's machine if there is an update to these files. Please help Rahul |
#3
| |||
| |||
|
|
Yes, you can set the page expiration settings in IIS to the default values, or tell the browser to cache them for 4 hours, 1 day, etc. Note that if a user refreshes a page their browser may download those files anyway. -- Ben Strackany www.developmentnow.com a href="http://www.developmentnow.com">dn</a "Rahul Agarwal" <agarwal_rahul (AT) hotmail (DOT) com> wrote in message news:OmK%23v8IvEHA.2520 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Hi We use few .xml and .xsl files in our web application and we found that these files even though fairly static gets downloaded to the client's machine everytime the page is refreshed. Is there a way we can instruct so that these files only gets downloaded to the client's machine if there is an update to these files. Please help Rahul |
#4
| |||
| |||
|
|
Hi Ben Can you please give some more details as how I can instruct the browser to cache this files, can this be done via coding? Any coding e.g. would be very helpful or any links. thanks Rahul "Ben Strackany" <infoNOSPAM (AT) developmentnow (DOT) nospam.com> wrote in message news:e12pflqxEHA.3808 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Yes, you can set the page expiration settings in IIS to the default values, or tell the browser to cache them for 4 hours, 1 day, etc. Note that if a user refreshes a page their browser may download those files anyway. -- Ben Strackany www.developmentnow.com a href="http://www.developmentnow.com">dn</a "Rahul Agarwal" <agarwal_rahul (AT) hotmail (DOT) com> wrote in message news:OmK%23v8IvEHA.2520 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Hi We use few .xml and .xsl files in our web application and we found that these files even though fairly static gets downloaded to the client's machine everytime the page is refreshed. Is there a way we can instruct so that these files only gets downloaded to the client's machine if there is an update to these files. Please help Rahul |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |