Why apache does not update media files when I update tham in my FileSystem?
Why Apache does not update media files when I update them in my file system? (I use 开发者_JAVA技巧xampp on Windows to manage Apache) So when I update my php files I see changes immediately byt when I update media files like .swf's it does note update them when I call them. Why, and how to solve such problem?
This seem to be a issue of the browser cache and not of Apache web server.
See php header function. There is a section about caching. You also could use a .htaccess file for cache controll.
They probably are in the browser's cache. Clean the browser's cache, or reload using SHIFT+F5 (it usually works), or serve the media files through a PHP file which instructs the files not to be cached.
精彩评论