A cache consistency model and locking protocol customized for file systems that are used as scalable infrastructure for web server farms are studied. High performance web sites rely on web server farms with hundreds of computers serving the same content for scalability, reliability and low-latency access to internet content. Simulation results are validated against an implementation of this protocol. Publish consistency and producer-consumer locking are key technologies for scalable web hosting.