1

If I'm deploying a site across multiple servers (to be load balanced), it seems that on one of the servers, the minified assets aren't in assets/cache. It's there in the other ones, but not this one. Is that a database thing that PyroCMS uses to check which asset file to use?

Shamoon
  • 41,293
  • 91
  • 306
  • 570

1 Answers1

1

PyroCMS will not check the database for cached assets, that would be weird. It just caches them whenever they are requested. Maybe traffic isn't getting to your other machine?

Phil Sturgeon
  • 30,637
  • 12
  • 78
  • 117
  • 1
    Turns out Pyro looks for the last modified date of assets and since I'm deploying to multiple machines, that may be different on each machine. So then I've changed the core to use file size as the hashable value. – Shamoon May 17 '13 at 12:35
  • If you have something that should be a pull request make sure you send it in. – Phil Sturgeon May 17 '13 at 16:32
  • Looks like its different in 2.3 – Shamoon May 18 '13 at 13:48