summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-05-29 09:51:09 +0200
committerYorhel <git@yorhel.nl>2020-05-29 09:51:11 +0200
commit3e2cacb826dc703b789d575c378f8dccb2dc95a6 (patch)
treef08801825809ae77ca847a016415f4a70fd714b4 /.gitignore
parent475b01dcf589d34ea1b4b8ce22f4302605b251f5 (diff)
JS: Split v2rw.js into plain.js and elm.js, only include JS files when necessary
The trace_log showed that the vast majority of pageviews do not need any Elm modules at all, so we can save a lot by not loading them on the page. Some pages (most notably: VN pages for not-logged-in visitors) do need JS but don't load any Elm modules. I've added a 'js' flag to HTML::framework_() to indicate that and ensure that plain.js is still loaded.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore9
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index eda3cee9..584a6483 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,9 +12,12 @@
/static/f/vndb.js
/static/f/vndb.min.js
/static/f/vndb.min.js.gz
-/static/f/v2rw.js
-/static/f/v2rw.min.js
-/static/f/v2rw.min.js.gz
+/static/f/elm.js
+/static/f/elm.min.js
+/static/f/elm.min.js.gz
+/static/f/plain.js
+/static/f/plain.min.js
+/static/f/plain.min.js.gz
/static/feeds/
/static/s/*/style.css
/static/s/*/style.min.css