T
TJO
My asp.net 1.1 app is loading an xml file into cache so that subsequent
calls for the xml file will not be pulled from the file system but from
the cache instead.
My method for loading the xml does the following:
1) Checks the cache to see if it is there
2) If not in cache load xml file, else pull it from cache
3) Creates new CacheDependency object using the full path of the xml
and current datetime
3) Inserts xml into cache using the CacheDependency object
This is working fine but when I change the xml file the application
does not reload the file but keeps pulling it from cache!
Why does it not recognize my file being changed?
calls for the xml file will not be pulled from the file system but from
the cache instead.
My method for loading the xml does the following:
1) Checks the cache to see if it is there
2) If not in cache load xml file, else pull it from cache
3) Creates new CacheDependency object using the full path of the xml
and current datetime
3) Inserts xml into cache using the CacheDependency object
This is working fine but when I change the xml file the application
does not reload the file but keeps pulling it from cache!
Why does it not recognize my file being changed?