Comments (8)
If we're looking into this, should we also look into cache-friendly URLs for static assets?
If we add a hash of the contents to the file name, matching URLs can be served with a Cache-Control: max-age=31536000
header and repeat visits to the content server would not need to download those resources at all. This may have a bigger overall effect than a CDN would (which is not to say I don't think we should move to a CDN too; we should).
from fxa.
If we're looking into this, should we also look into cache-friendly URLs for static assets?
Static resource URLs should be cache friendly already, and served with long lived cache headers:
This may have a bigger overall effect than a CDN would (which is not to say I don't think we should move to a CDN too; we should).
The caching is in place to help repeat visits, now we want to speed up the load time of first time visitors.
from fxa.
Whoops, I'm sorry.
from fxa.
@rfk - is the "work breakdown" portion of this already in progress?
from fxa.
from mtg: @jrgm mentions that we'll have to use a subdomain to serve static resources and we should think about how we can continue to use the same RPM for both stage and prod, w/o performing a rewrite on all of the static HTML files.
from fxa.
is the "work breakdown" portion of this already in progress?
nope, those high-level notes are as far as I got with it - this needs an owner to take on the task of actually figuring out and writing up all the details.
from fxa.
In the interests of clarity: the desired outcome for this issue is a feature card in https://github.com/mozilla/fxa/tree/master/features describing what we'll need to put in place to use a CDN, and how we'll measure its success.
@shane-tomlinson we took the liberty of assigning this to you during sprint planning meeting; don't hesitate to de-assign yourself if that doesn't seem appropriate :-)
from fxa.
ref mozilla/fxa-content-server#3101, mozilla/fxa-content-server#3447, mozilla/fxa-content-server#3448, mozilla/fxa-content-server#3449
from fxa.
Related Issues (20)
- Use global branding FTL file in payments-server HOT 2
- Build error after upgrade to Mac OS Ventura HOT 1
- FTL strings from shared components are duplicated in Pontoon HOT 8
- Create a new context for Thunderbird desktop HOT 6
- Audit potentially hardcoded alt/title/aria-label strings HOT 2
- Audit Tailwind usage of xxl/2xl and xxxl/3xl
- fxa-content-server crash.png shows old Firefox logo
- Inconsistent spelling of focused/focussed in fxa-settings HOT 2
- FTL strings with missing or extra attributes require new IDs HOT 1
- Move Settings pages from src/components/ to src/pages/ HOT 1
- Move Admin Panel pages from src/components to src/pages
- Reduce fxa-content-server-l10n cloning to a minimum and concatenate ftl files after clone
- testAllL10n function does not handle ftl id passed as props HOT 1
- testAllL10n function errors when the ftl string includes an embedded element (e.g., span) HOT 2
- focused and focussed instances in packages/fxa-settings/src/components/Settings/Checkbox/index.tsx HOT 1
- ### How do i get Started HOT 1
- Inconsistent use of "PayPal" vs "Paypal" in exported class names in fxa-auth-server
- Not getting a confirmation code. HOT 2
- Brand placeable missing from ftl string HOT 2
- Cannot start fxa: failed with exit code 1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxa.