Caching of files in a certain folder is causing issues

Avatar
  • Answered
Hi, I have a folder with specific files where I need to be able to keep the filename the same but update it. The user should always get the latest version of the file. Currently, it is caching the files. I.e. I have a site.xml file that is cached in the folder. How do I switch off caching for a folder or file types?
Avatar
IMH Support Agent 5
Hello,

Thank you for your question about setting up caching for different files. This depends on the kind of caching you're using. For example, if you're using a plugin like WP Total Cache in a WordpPress site, there are specific settings regarding HTML, JavaScript, CSS, and XML files, regarding how they are handled by the caching plugin. This would be different depending on whether you are using a plugin or various other kinds of server side caching applications, which would likely have their own individual configuration options.

Best,
Christopher M.