Implement caches maps
See original GitHub issueThe idea is serve one cache for any navigation request, /albums
for example. Same, if cache is empty, any navigation request should populate given cache.
Probably not any. Maybe something specified in map like this:
{
'/albums': '/',
'/gallery': '/'
}
// or
{
'/*': '/shell.html'
}
Here is the use case number one: https://github.com/NekR/offline-plugin/issues/27 Second use case it to serve server-rendered content on network requests, but in ServiceWorker, cache the AppShell.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:11 (8 by maintainers)
Top Results From Across the Web
What is map caching?—ArcGIS Server
Map caching is a way to make your map and image services run faster. When you create a map cache, the server draws...
Read more >How to implement cache in Java - Medium
In this post, we'll go through the steps to create a in memory cache in java. To create a cache, we can simply...
Read more >12 Implementing Storage and Backing Maps
This chapter provides information on coherence storage using backing maps. The following sections are included in this chapter: Cache Layers. Operations.
Read more >Cache maps - HERE Developer
Use tile caching when you are not requesting a specific map version. If you always want the latest version of the map, but...
Read more >Tutorial: Creating a cached map service
When you cache a map service, the server draws the map at a set of scale levels that ... may have already determined...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is everyone here okay with this design for cache maps:
https://github.com/NekR/offline-plugin/issues/117
Here was a code example, but I actually placed it to separate issue for clarity
/cc @MoOx @developit @KyleAMathews
@nodkz so essentially it’s just runtime-rewriter-function, right? Yeah, good idea 👍