e4c8259d introduced a regression on this front: we would turn off website caching only when the cachewebsite build option was specified.