Tag Info

Hot answers tagged

3

When I've seen similar issues in our environments, it appears to have been because of the way that OpCache (by default) shares a single cache across all users on a shared hosting environment. A bug has been submitted (and you can, and should, go and vote to let the maintainers know how important this might be for your use case) though no commitment has been ...


2

Do not do this. I repeat: Do not do this! You will get cluster headaches out of this. If metadata changes in meantime, it could cause crashes and/or invalid data returned. These filesystems are not designed to work like this. Do not use them that way. This is especially bad idea with ZFS. If you really have to, use something very very basic, without ...


2

Most likely some extra header is preventing nginx from caching the response.


1

Even you don't need to worry about it, you can delete memory cached files when you want just issue this command as root sync && echo 3 > /proc/sys/vm/drop_caches Here you can find more info. EDIT: Following the link if you echo 4 then linux will completely disable the caching of files, which is what you are looking for.


1

Yes, they will be cached separately. In fact, one trick developers use to force browsers to pull a new copy of a CSS file after they update it is to append something like ?v=2 to it (e.g. href="styles.css?v=2").



Only top voted, non community-wiki answers of a minimum length are eligible