Questions tagged [preloading]

Use preloading for questions related to programmatically requesting files or data using a heurestic or presumptive algorithm.

Preloading can be used to optimize the user experience based on events, hints, metadata, or user behavior analysis.

References

273 questions
4
votes
1 answer

Preloading huge amount of images

I'm trying to do a parallel preload of images using the logic implemented on the below link. http://blog.lieldulev.com/2010/05/21/parallel-image-preloading-in-js/ I have a huge amount of images, currently 350+ images with an average of 50KB file…
Marvzz
  • 1,535
  • 3
  • 15
  • 22
4
votes
4 answers

Preloading of html web page or non-flash web applications?

I believe that most of you have heard of preloading of images. But is there anyone who knows how we can preload webpages? For instance, when we are login to GMAIL, we will see a loading progress bar. How do we preload html webpages/web applications…
DjangoRocks
  • 13,598
  • 7
  • 37
  • 52
3
votes
3 answers

Is there a sensible limit to "display:none" preloading?

I'm designing a single page website. All the sections to the site pop up modally in DIV elements, so it never leaves the actual browser page. Initially I have all the sections hidden with css using "display:none", and the navigation reveals and…
AlexKempton
  • 1,648
  • 15
  • 28
3
votes
2 answers

How can i stop preloading?

I'm using a function below to preload images on my ajax page. My page contains image galleries. But I need to stop preloading of current gallery when I click another gallery link. Any help? Thanks... It's solved... Here's working code with an…
Salt Hareket
  • 764
  • 7
  • 18
3
votes
2 answers

Is it possible to have a persistent PHP session for faster delivery of webpages?

Well, to be specific, I'm running my own content management system running on Linux Apache2 MySQL PHP server. The system is comparable to Linux kernel w/ modules. --(request start)-- The system launches his "init" script that takes care of…
lmojzis
  • 551
  • 7
  • 17
3
votes
0 answers

React Send API call on Link hover to preload data

I'm trying to improve the UI of my React app, and one thing I want to try and work out is how to pre fire an API call when a user hovers over a link, so by the time they're clicked through, the data has already been loaded and FakeAPI.jsx has…
WillMaddicott
  • 512
  • 6
  • 20
3
votes
1 answer

What does "Unknown type dependencies" mean when preloading PHP scripts?

I'm attempting to make use of the new preloading feature available since PHP 7.4. I ran composer install --no-dev --optimize-autoloader to generate a list of all available classes in the project, and used the following preload.php script to preload…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
3
votes
3 answers

Android: How to display transparent loading layer above the activity

I have tested 2 methods to display a transparent loading layer (progress bar) above the activity but activity content gets hidden here's the first one:
PHP User
  • 2,350
  • 6
  • 46
  • 87
3
votes
1 answer

link preload doesn't seem to change the download priority level

I'm working on a project where I would like to preload a couple of large videos so I started reading up on timing in network performance and resource prioritization. I found that when I looked at the Priority column of my network tab in the chrome…
Chris Schmitz
  • 20,160
  • 30
  • 81
  • 137
3
votes
2 answers

NHibernate PreSelect?

I am trying to implement privileges using NHibernate, and what I want to do, is each time there is a Select query, check what the return type is, and if it is a security enabled type (such as invoices) i want to add restrictions to the ICriteria…
Michal Ciechan
  • 13,492
  • 11
  • 76
  • 118
3
votes
1 answer

Preloading Images with Glide v4 not working

I am trying to preload and cache these images to disk with Glide on app start. My preloading code looks like this: getAllImageUrls().forEach { url -> GlideApp.with(context) .load(url) …
Rik van Velzen
  • 1,977
  • 1
  • 19
  • 37
3
votes
4 answers

Preload script file

There are numerous plug-ins to preload images, but is there a way to preload javascript? My application uses a big js file and it take about 5 seconds or so to load before the page shows... so, is there a way I can display a "loading message" while…
Mattia
  • 209
  • 1
  • 5
  • 12
3
votes
1 answer

Preload next (currently invisible) cell UICollectionView

I'm working with a UICollectionView and currently have full screen cells and when I swipe to the next cell the image takes a bit to load into the cell (since they're high res). I'm already using PHCachingImageManager to cache the image before hand…
WiseOlMan
  • 926
  • 2
  • 11
  • 26
3
votes
2 answers

Preloading images, still getting flicker

I have about 30-40 images that I'm currently attempting to reload. However, I still get this "flicker" when I hover over a image. The images disappear for a couple of milliseconds and then comes back. var images = new Array() …
Cheese Puffs
  • 955
  • 3
  • 10
  • 19
3
votes
1 answer

Queue.js to preload images is waiting forever? (Callback)

I'm using mbostock queue.js script to load several json files, by doing something like that: var q = queue() .defer(d3.json, "world-110m.json") .defer(d3.tsv, "world-country-names.tsv") .await(ready); where ready is the function to execute when…
Roger Veciana
  • 983
  • 1
  • 12
  • 25
1 2
3
18 19