discourse/lib/stylesheet
Rafael dos Santos Silva 2d1dbc6f96
FEATURE: Preload resources via link header (#18475)
Experiment moving from preload tags in the document head to preload information the the response headers.

While this is a minor improvement in most browsers (headers are parsed before the response body), this allows smart proxies like Cloudflare to "learn" from those headers and build HTTP 103 Early Hints for subsequent requests to the same URI, which will allow the user agent to download and parse our JS/CSS while we are waiting for the server to generate and stream the HTML response.

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2022-10-07 13:19:50 -03:00
..
manager FIX: missing theme upload should not break precompile process. (#18431) 2022-09-30 10:48:26 +05:30
compiler.rb DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
importer.rb DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
manager.rb FEATURE: Preload resources via link header (#18475) 2022-10-07 13:19:50 -03:00
watcher.rb DEV: Fix stylesheet watcher (#16635) 2022-05-04 11:58:52 -04:00