ezsystems/ezpublish — pull request #408 by jjCavalleri (2012-08-24 13:06:19+00:00)
Title: Fixed #19576: SSLZones subtrees not updated with cache clearing

I propose that ssl cached information is refreshed when ini cache is regenerated.

Note:
clearCacheIfNeeded checks if SSLZones are enabled before it proceeds with the removal of the cache file. This means that the cache clearing will not be executed when SSLZones are disabled.

A way to solve this would be to always check if the file exists in clearCacheIfNeeded, but that would have huge impact on content publishing (since the method is being called every time content is updated)

My suggestion is that instead of trying to solve that problem in code, we just append a note to SSLZone documentation explaining that manual removal of var/ezwebin_site/cache/ssl_zones_cache.php is required if SSLZones are toggled to disabled state.