diff --git a/Config/OptionsTables.lua b/Config/OptionsTables.lua index 74e6373..ebdb7bc 100644 --- a/Config/OptionsTables.lua +++ b/Config/OptionsTables.lua @@ -305,7 +305,7 @@ local function MakeGeneralOptions(opts) GUI:CreateNewline(opts) GUI:SetDBType"Global" - GUI:CreateToggle(opts, {"cache", "enabled"}, L["Cache"], L["Speeds up processing, but may introduce tooltip issues."]) + GUI:CreateToggle(opts, {"cache", "enabled"}, L["Cache"], L["Greatly speeds up processing, but may occasionally cause tooltip formatting issues."] .. "|n|n" .. Addon:MakeColorCode(Addon.COLORS.RED, format(L["If a tooltip appears to be formatted incorrectly, hide it for %d seconds to clear the cache."], Addon:GetGlobalOption("cache", "constructorWipeDelay")))) GUI:CreateReset(opts, {"cache", "enabled"}) GUI:ResetDBType() end diff --git a/Config/Settings.lua b/Config/Settings.lua index 82e7372..00279a2 100644 --- a/Config/Settings.lua +++ b/Config/Settings.lua @@ -216,15 +216,15 @@ function Addon:MakeDefaultOptions() cache = { ["*"] = true, - enabled = false, + enabled = true, -- constructor = false, -- text = false, -- stat = false, - constructorWipeDelay = 3, -- time in seconds without constructor being requested before it's cleared - constructorMinSeenCount = 6, -- minimum number of times constructor must be requested before it can be cached - constructorMinSeenTime = 1, -- minimum time in seconds since constructor was first requested before it can be cached + constructorWipeDelay = 5, -- time in seconds without constructor being accessed before it's cleared + constructorMinSeenCount = 3, -- minimum number of times item must be seen (within wipe delay) before it can be cached + constructorMinSeenTime = 0.5, -- minimum time in seconds since item was first seen (within wipe delay) before it can be cached }, throttle = { diff --git a/Locale/enUs.lua b/Locale/enUs.lua index 1a30386..15c1482 100644 --- a/Locale/enUs.lua +++ b/Locale/enUs.lua @@ -15,10 +15,11 @@ L["Reorder"] = true L["Recolor"] = true L["Cache"] = true -L["Allow or prohibit all reordering."] = true -L["Allow or prohibit all rewording."] = true -L["Allow or prohibit all recoloring."] = true -L["Speeds up processing, but may introduce tooltip issues."] = true +L["Allow or prohibit all reordering."] = true +L["Allow or prohibit all rewording."] = true +L["Allow or prohibit all recoloring."] = true +L["Greatly speeds up processing, but may occasionally cause tooltip formatting issues."] = true +L["If a tooltip appears to be formatted incorrectly, hide it for %d seconds to clear the cache."] = true L["Multiply"] = true