Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Drafts AutoSave – Save posts and threads as drafts automatically
#12
(05-14-2014, 01:51 PM)frostschutz Wrote: One thing to be aware of when using PluginLibrary's cache. It's not a filecache. It only uses file cache by default to avoid MyBB's default DB cache. If you have configured any other caching method, like memcache, it uses that instead. I'm sorry if that isn't clear from the documentation.

In the end, it's a cache function, not a save function. It's intended for data that, if missing, can be rebuilt easily, like a HTML representation of DB data that you do not want to re-query with every request (but can re-query when it's gone). The documentation does state that the cache is allowed to vanish at any time. It's different from MyBB's cache which is always backed by DB (and autoloaded with every request if you actually use the default DB cache).

As such for your drafts, if you want them saved, my recommendation is that you use DB (your own table if you like) as saving things is its purpose.

I thought it was a filecache. Whatever, I chose it just because it can vanish at any time on purpose. Auto saved drafts, if saved into the db, might cause really high loads on the server and that's what I'm trying to avoid.
[Image: fSGNVQj.png]
Reply


Messages In This Thread
RE: Drafts AutoSave, almost done - by VirusZero - 05-14-2014, 02:57 AM
RE: Drafts AutoSave, almost done - by Omar G. - 05-14-2014, 03:42 AM
RE: Drafts AutoSave, almost done - by Whiteneo - 05-14-2014, 04:09 AM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 11:20 AM
RE: Drafts AutoSave, almost done - by martec - 05-14-2014, 01:32 PM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 01:34 PM
RE: Drafts AutoSave, almost done - by martec - 05-14-2014, 01:38 PM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 01:45 PM
RE: Drafts AutoSave, almost done - by frostschutz - 05-14-2014, 01:51 PM
RE: Drafts AutoSave, almost done - by martec - 05-14-2014, 01:59 PM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 02:19 PM
RE: Drafts AutoSave, almost done - by Whiteneo - 05-14-2014, 06:59 PM
RE: Drafts AutoSave, almost done - by VirusZero - 05-14-2014, 08:30 PM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 08:35 PM
RE: Drafts AutoSave, almost done - by pavemen - 05-14-2014, 08:35 PM
RE: Drafts AutoSave, almost done - by Shade - 05-14-2014, 08:39 PM
RE: Drafts AutoSave, almost done - by pavemen - 05-14-2014, 09:00 PM
RE: Drafts AutoSave, almost done - by Wildcard - 05-14-2014, 09:16 PM
RE: Drafts AutoSave, almost done - by Euan T - 05-14-2014, 09:19 PM
RE: Drafts AutoSave, almost done - by Shade - 05-15-2014, 05:08 PM
RE: Drafts AutoSave, almost done - by pavemen - 05-15-2014, 05:39 PM
RE: Drafts AutoSave, almost done - by Euan T - 05-15-2014, 05:49 PM
RE: Drafts AutoSave, almost done - by Shade - 05-15-2014, 05:52 PM
RE: Drafts AutoSave, almost done - by Omar G. - 05-16-2014, 03:24 AM
RE: Drafts AutoSave, almost done - by Shade - 09-21-2014, 09:25 AM
RE: Drafts AutoSave, almost done - by Simone - 10-21-2014, 03:50 PM
RE: Drafts AutoSave, almost done - by Shade - 10-24-2014, 01:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)