Date modified caching?
After careful consideration, we are using CB Drive to mount an S3 bucket on a Windows IIS server. The bucket mostly contains large assets, but also the occasional index.html file that needs to be in the same folder structure as the assets. If we publish an update to the index.html file directly to S3, IIS doesn't seem to detect the change and therefore doesn't instruct the client browser to request the updated index.html file, so the client browser uses the version it already has cached. Using a local storage location does not have this problem.
I know there are many ways this could be handled - not looking for feedback on alternate solutions. My question is whether CB Drive can be set to update its cached ListBucket data more frequently so that IIS can detect the changes when performed directly on S3. Any ideas?
If i understood your use case correctly, than you can try disabling the cache in Drive by following the instruction below:
- Click Drive tray icon and choose Options
- Select a mapped drive and press Edit > Edit advanced options
- Uncheck "Use file cache" option
- Find the cache directory in Options > Advanced
- Navigate to that directory with Windows Explorer and delete all its contents
After that just create a simple scheduled batch file or Power Shell script that will create a 0 sized file on the Drive mounted to force it update the listing of the directory. There is no such feature yet available yet, however we may consider adding it in the future. Hope it helps and surely let me know if you require further assistance.
Sign in or register to add a comment.
Add a Comment
Welcome to MSP360 Forum!
MSP360 Managed Products
Managed Backup - General
Managed Backup Windows
Managed Backup Mac
Managed Backup Linux
Managed Backup SQL Server
Managed Backup Exchange
Managed Backup Microsoft 365
Managed Backup G Workspace
Backup for Linux
Backup SQL Server
Connect Free/Pro (Remote Desktop)
aws lifecycle creation date versus modified date
Created/Modified/Access Date/Time Stamps Show Unix Epoch Time
ovh pca - using meta data for "Date Modified" column
CB Listed Modified Date Does Not Match Directory
Maintain Date Modified between source (server) and destination (Azure)
Terms of Service
Useful Hints and Tips
Created with PlushForums
© 2023 MSP360 Forum