php - How enable apache caching but allow changing the cache when file is changed (for that one file)? -


after enabling cache settings in httpd.conf, unable see changes make file (from index.php style.css in theme files). nothing causes apache/php/wordpress serve new version of file. thing works turning off caching (by removing httpd.conf , restarting apache).

cacheenable disk / cacheroot /webapps/cache/app1 cachedefaultexpire 3600 cachedisable /wp-admin cachedirlevels 3 cachedirlength 5 cacheignorecachecontrol on cachemaxfilesize 1000000000 cacheignorenolastmod on cachemaxexpire 1209600 

but that's not how want caching work. if file changed, should serve new version. how enable work , change cache version when alter file?


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -