To cache data – what can let down a business behind a site better?
-
Hello Tobias!
you plugin is really great and I use it for the same site for 12 years!I use the plugin to insert some critical data to a good number of the pages: schedules, prices and other important (actually the most important) things. Of course this data created dynamically but presents by your plugin. Actually I don’t believe that the most of the people support tables manually, especially big tables.
Just recently I have noticed that unlogged users see the obsolete data. The investigation bring me to table parameter cache_table_output that true by default.
Actually any cache is the hell and could be reasonable only for thoughtless paragraphs in the blogs. Is there is some thoughts in a paragraph it can change. For creating caches are some plugins or .htaccess settings that do this work taking in mind a lot of exceptions. But in the most of the cases their activity finally is devil’s.
What would be reasonable to a plugin is to arrange something to avoid datatables to be cached by caching plugins!!!
Unfortunately, you introduced changing the critical plugin’s logic hidden that seems to be wrong at all.
Just image a situation when a business, say, travel agency (or aircompany) dynamically changes prices (for example with changing rates or taxes), checks the page that all was passed well but unauthorized client see the obsolete prices and go to buy tickets!!!
If you had decided to extend the plugin functionality it would be better to set cache_table_output=false as default.
I have fixed it through using tablepress_table_render_options filter that is easy for me rather to change some tens of pages (suppose some people have to change hundreds or thousands pages). But actually it was disaster when clients climed it!
The topic ‘To cache data – what can let down a business behind a site better?’ is closed to new replies.