Comments (7)
Perhaps related to this issue, I noticed that one low-hanging fruit to improve the site's performance would be to correctly handle and serve static assets with 304 response codes.
As an example – load https://developers.google.com/web/fundamentals/css/styles.min.css in a browser, open up the devtools, and refresh. Instead of serving a 200, ideally you'd serve a 304 (if my browser sent the right If-None-Match
header). Of course, this would speed up the experience a bit for small assets and a bunch for larger assets. And would particularly help over slow connections. :)
I assume PageSpeed would handle this for you if configured correctly, though it may be easier to implement this directly in your app. :)
from webfundamentals.
@PaulKinlan this sounds like two issues. Do we want to split into two?
from webfundamentals.
The issue @jeremydw mentions is #14 - I am not sure how the infrastructure handles caching...
from webfundamentals.
It's probably two issues, but integrating with PageSpeed will "kill two birds with one stone", depending on the PageSpeed config you use.
AFAIK, since PageSpeed serves as a proxy for your page's resources, even if the serving infrastructure doesn't handle caching/304s for your assets, since PageSpeed proxies all your page's resources (like the styles.min.css
file that I mentioned, etc.) – the PageSpeed service will allow you to leverage caching for everything except the HTML files themselves (again, according to my experience using PSS).
from webfundamentals.
Is there any reason why we aren't using filerev in the grunt step?
If we enabled it we could probably extend the expiration?
from webfundamentals.
We don't have access to changing these on devsite.
On 12 June 2014 17:23, Matthew Gaunt [email protected] wrote:
Is there any reason why we aren't using filerev in the grunt step?
If we enabled it we could probably extend the expiration?
—
Reply to this email directly or view it on GitHub
#12 (comment)
.
from webfundamentals.
closing as we don't have access to change this :(
from webfundamentals.
Related Issues (20)
- Link redirects to parked spam domain
- Broken/private videos on "Removing Headaches from Focus Management"
- misleading copy about Custom Elements and Progressive Enhancement
- Private/Unavailable video on page "Smooth Scrolling in Chrome 49"
- Private/Unavailable videos on page "Web Animations Playback Control in Chrome 39"
- Incorrect/Unavailable thumbnail Images to redirect links HOT 3
- [Remote Debugging]
- 2 Broken links on `Rendering on the Web` article
- IndexedDB lab code examples update
- Error 404
- PageSpeed Insights can't realize CSS Cascade Layers.
- Redirect for /web/fundamentals/app-install-banners/native/ is broken. HOT 1
- Verbal fix on documentation's blue "activation" note section
- [Remote Debugging]
- [Remote Debugging]
- Rh
- Where is the old site?
- Thanks
- 871 (600×586) HOT 1
- Watch "7 FREE Websites You Didn’t Know Existed!" on YouTube HOT 1
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 webfundamentals.