Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
258be6f
-1 query
drusepth Aug 3, 2021
f3e61a2
-~3 queries
drusepth Aug 3, 2021
8223f99
query smaller table
drusepth Aug 3, 2021
1b50e1b
break cache methods out
drusepth Aug 3, 2021
753452f
contrib helper cache
drusepth Aug 3, 2021
062fef2
don't requery if we repeat a cache call
drusepth Aug 3, 2021
8bad60a
rewrite cache_linkable_content_for_each_content_type with far fewer q…
drusepth Aug 3, 2021
2eb50f5
only query for contributable content if you're a contributor to any u…
drusepth Aug 3, 2021
64715d3
collapse the loops
drusepth Aug 3, 2021
3362596
tweak cache guards
drusepth Aug 3, 2021
34b5c75
reuse linkables cache instead of making new queries
drusepth Aug 3, 2021
832bb92
remove user#linkable_universes
drusepth Aug 3, 2021
7aed61d
freeze AC strings
drusepth Aug 3, 2021
b2ef0f5
helper for recently-created pages cache
drusepth Aug 3, 2021
1b99bdf
remove unnecessary queries
drusepth Aug 3, 2021
fb8e298
add header to recent edits stream
drusepth Aug 3, 2021
f23522e
reuse user method for cache
drusepth Aug 3, 2021
3db83d9
reuse cached universes to fetch ids
drusepth Aug 3, 2021
dd969ba
scratch that, lol
drusepth Aug 3, 2021
7aafbdd
freeze strings in ContentController
drusepth Aug 3, 2021
54b1c43
skip ui cache on content api calls
drusepth Aug 3, 2021
f977c58
simplify valid_content_types usage
drusepth Aug 3, 2021
4a48dc0
standardize @current_user_content vs @linkables
drusepth Aug 3, 2021
512bff2
move the old doc user includes
drusepth Aug 3, 2021
a6d169f
this removes ~100 field queries for default character template, oof
drusepth Aug 3, 2021
8929447
codesmell todo
drusepth Aug 3, 2021
08b86f1
kill N+1s for loading AttributeCategories from template also
drusepth Aug 3, 2021
d8b7e3b
remove yet another set of n+1
drusepth Aug 3, 2021
010f57c
skip ui cache on document update
drusepth Aug 3, 2021
8bad87b
doc update readability
drusepth Aug 3, 2021
56cb9a6
remove animate-rails
drusepth Aug 4, 2021
7ceb687
secure universe session var
drusepth Aug 8, 2021
3f18f8c
wip before going down the ContentPage rabbit hole
drusepth Aug 8, 2021
4e782bf
include contributed content in contributable content
drusepth Aug 9, 2021
0d5e6db
rewrite linkable content caching again, to exclude current_user_contn…
drusepth Aug 9, 2021
b12900a
clean up previous commit
drusepth Aug 9, 2021
5c97273
WIP migrating to wide ContentPage usage
drusepth Aug 9, 2021
d614ee1
Merge branch 'master' into august-perf
drusepth Aug 9, 2021
2fb7218
fix default image url
drusepth Aug 9, 2021
e4e5485
re-enable universe filtering on timelines#index
drusepth Aug 9, 2021
7926712
use contentpages in serendipitous
drusepth Aug 9, 2021
ac4c3db
linkables cache safety
drusepth Aug 11, 2021
ed71129
get serendipitous questions working on content#index for ContentPage …
drusepth Aug 12, 2021
09f248d
save a bunch of queries by using cached ContentPages on dashboard
drusepth Aug 12, 2021
56f2b41
use ContentPage piping on prompts page
drusepth Aug 12, 2021
22d199a
clean up code rework
drusepth Aug 12, 2021
406105e
move references into a job (needs tested)
drusepth Aug 13, 2021
45aa1b6
Merge branch 'master' into august-perf
drusepth Oct 1, 2021
1720c84
nix a query
drusepth Oct 1, 2021
6a208e3
remove set_universe_scope dependence on current_user_content cache
drusepth Oct 1, 2021
979ee7e
document universe filter banner redesign
drusepth Oct 1, 2021
5f8153c
touch timelines when timeline events are created to make sure updated…
drusepth Oct 1, 2021
5866cf5
Merge branch 'master' into august-perf
drusepth Oct 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
freeze AC strings
  • Loading branch information
drusepth committed Aug 3, 2021
commit 7aed61d812472dab04d39cf14ee484afb3161709
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
protect_from_forgery

Expand Down