[Plugin: WP Super Cache] Preload failures
-
With expiry at 1799 and preload at 1440 starting a preload generates all of the files (count in content and files present in file system).
But shortly thereafter all of the preloaded files disappear.
Also, there are some gaps in the documentation. The explanation of HOW to regenerate preloaded files does not describe WHY regular regeneration is worth doing.
My understanding of cache systems is pretty deep because I have written several for real-time systems. But I cannot determine some of the key features of your system. For example, what is the value of the short expiry time? In fact, what is the value of the expiry time at all? If cached values are going bad/stale/dirty, meaning the existing versions need to be discarded, then that should happen based on the trigger that rendered them obsolete rather than a fairly arbitrary timer setting. If it is not possible to catch the triggers, then the expiry time is just an expression of the owner’s willingness to serve up stale info for some period in order to reduce the processing load. I believe it would be worth clarifying this issue.
And why is GC both automatic and very aggressive? Why not have a separate control for GC. Every 10 minutes is insanely often for most sites. Even every 1799 minutes is overkill for most sites. And according to the documentation the only longer alternative is no GC.
All of expiration, GC, and preload regen should be schedulable at off-peak hours. It may be necessary to have a short expiration for some reason that I do not comprehend. But who will be hurt by a daily or weekly GC? That is not possible with the existing controls.
And the documentation leaves many issues unclear re cached files and preloaded files. The doc makes them appear to be distinct. But most cache technology uses the cache as the base system working in an on-demand fashion. Preloading is just an artificial kind of demand. In that classic arrangement the cache expiration time and the preload regeneration time must be the same or the system is busted.
I would be bappy to help with this, but I do not understand the existing implementation well enough to make corrective adjustments.
The topic ‘[Plugin: WP Super Cache] Preload failures’ is closed to new replies.