Comments (3)
Not all browsers would support local storage.
from hasjob.
Seems to be universally supported: http://caniuse.com/namevalue-storage
from hasjob.
As of #251, we have switched to loading filtered views through AJAX (and pushState). But, we're still seeing performance issues: loading a filtered view can take anywhere between 800ms to 2s (or even higher on a slow internet connection). We should aim for sub-100ms responses from the server. So, it looks like we would have to test two approaches:
- Return only JSON from the server and measure how long it takes. If we do end up taking this approach, we would have to switch the rendering from Jinja to Ractive and integrate Node into our rendering pipeline to render views on the server-side.
- Cache the server-generated HTML and see if this improves response times. Basecamp took this approach and it seemed to work well for them. Also, Twitter, experienced significant performance improvements after moving their rendering from the client-side to the server-side.
Given that our use-case is rendering a fairly static section of the page (the list of stickies), my current sense is to go with approach 2. It keeps the architecture simpler (no need to integrate Node) and lets the server optimize the rendering (caching one user's response automatically benefits every other request).
from hasjob.
Related Issues (20)
- Use materialized views for all charts HOT 7
- Activity stream dashboard HOT 1
- Grouped cards in search are not relevant HOT 4
- Keyword search pulls non relevant listings too
- Intercept URLs in search
- Force users to specify filter criteria
- PWA checklist HOT 1
- Header is not top aligned
- Hasjob posting API
- Hasjob widget HOT 4
- Replace _charset_ with accept-charset in forms
- Validate hasjob embed's limit parameter
- Use secure cookies HOT 1
- Support employer rebranding
- Failing to install Flask-Babelhg HOT 2
- Site is timing out HOT 2
- Consider adding a WhatJobs XML feed
- LookupError: Missing asset file for app-css HOT 3
- Some URLs are missing a character HOT 1
- Pay range is not visible to job seekers. HOT 4
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 hasjob.