Elise Barnes

Results 4 issues of Elise Barnes

Middleware feature that will help improve page load time: Lazy Loading — delay the loading of images in long web pages. Images outside of the viewport will not be loaded...

Query strings are being ignored in requests. Example: requests like `blah.com/path?stuff` are getting sent to backends as just `/path` Found with the following code while creating `middleware/device-router`: ``` if (deviceType...

Middleware: Uses [https://github.com/faisalman/ua-parser-js]( https://github.com/faisalman/ua-parser-js) to parse the `user-agent` header from requests. Then, checks the user's device and operating system. Then, adds `Fly-Device-Type` and `Fly-Device-OS` headers to the request. - If...

Feature: device-based caching/dynamic serving -Using the `User-Agent` header from requests to deliver cached content based on device type ```javascript import { responseCache } from '@fly/cache' fly.http.respondWith(async function(req) { // use...