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
2
votes
1 answer

How to load images intelligently using CSS/jQuery?

I have a thumbs div (i'm only showing four thumbs for the sake of brevity):
Isaac Lubow
  • 3,557
  • 5
  • 37
  • 53
2
votes
0 answers

Preloading Referenced Assemblies

I've got a rather large (and growing) application that uses Nancy and subsequently the TinyIoC library. Each of the modules are broken out into individual projects, along with my data models, so my project structure looks sort-of like…
Ron Beyer
  • 11,003
  • 1
  • 19
  • 37
2
votes
1 answer

jQuery ajax not preloading images

I have a list of galleries, when you click on the title of a gallery it pulls in the contents (HTML with images). When the content is pulled in it preloads the html but not the images, any ideas? This is the JavaScript i'm using: …
George Wiscombe
  • 1,422
  • 1
  • 13
  • 13
2
votes
1 answer

Preload images asynchronously into the browser cache when the image has to be generated on the server first

been reading stackoverflow for a couple years now, but never posted. Until today - ran into an issue I could not solve by myself and did not find a solution for. The scenario: I have a dynamic webpage which basically shows screenshots of websites.…
to_the_nth
  • 61
  • 11
2
votes
1 answer

SpriteKit sometimes fails to load SKTexture

I am currently having a weird intermittent issue with SpriteKit and SKTexture preloading. I have multiple arrays of images which I preload in the following format: - (NSDictionary *)loadTexturesWithNames:(NSArray *)aNames { NSMutableDictionary…
Elliott D'Alvarez
  • 1,217
  • 16
  • 30
2
votes
1 answer

How to implement preload youtube video feature in android app?

I am using Youtube Api for android to add play youtube videos within my app and it always buffers and play. I was trying to find any method in the api that can allow to preload the video and then play continuously but I gone through the complete…
Napolean
  • 5,303
  • 2
  • 29
  • 35
2
votes
2 answers

Preload translations from database before Silverlight is loaded

We are storing localization strings in database. Localization is needed for multi language application that we are building. Data layer is behind WCF service, and all data is comming throu this WCF channel. We need to load translations before…
zidane
  • 642
  • 1
  • 7
  • 19
2
votes
1 answer

How to prevent LD_PRELOAD or ld.so.preload configuration?

Due to license problem, few libraries cannot be linked statically. So is it possible to prevent/detect preloaded library, either through LD_PRELOAD environment variable or through /etc/ld.so.preload configuration? The previous can be detected…
daisy
  • 22,498
  • 29
  • 129
  • 265
2
votes
3 answers

JQuery - Preload Images (using JQuery / native JavaScript / CSS)

I previously asked a question on how to hover on a small image and load an additional image to the right side of the page. I have everything working correctly, but now I want to preload images. How can I preload an image using JQuery so that I can…
Matt
  • 35
  • 1
  • 1
  • 7
2
votes
3 answers

How to pre-load images only using CSS (no JS)?

How can I pre-load images only using CSS, so without using JavaScript? It has to be cross-browser. I don't want to use CSS sprites. Is there any other solution?
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
2
votes
2 answers

How can I preload textures with Three.js?

I am using THREE.TextureLoader() to preload the textures, but I can't seem to assign them to my shaders. var textureLoader = new THREE.TextureLoader(); textureLoader.load('img/texture.jpg', function(){ assetsLoadedCount++; }); In another…
Giel Berkers
  • 2,852
  • 3
  • 39
  • 58
2
votes
1 answer

Edge Animate Custom Percentage Preloader

I have an important task that requires me to do a percentage preloading in Edge animate, I looked in the internet and I did not find any tutorials or answers but I found this youtube video which show how to put a preloader and center it and it uses…
user2525537
2
votes
1 answer

Preloading sounds and images in JQuery. It usually works but sometimes freezes, and I would appreciate advice on improving my code

This is my first time asking a question on this website which I have grown to love. I am trying to make games with JQuery and I need to preload sounds and images. If the images and sounds are already in the cache of the browser, it seems to work…
Nick Manning
  • 2,828
  • 1
  • 29
  • 50
2
votes
1 answer

Pre-load a staticly linked C symbol

Is it at all possible to pre-load a staticly linked symbol? In linux, I can use LD_PRELOAD=libSomeLibrary.so ./anExecutableLinkedToAnOtherLibrary But this only works if the symbols are linked dynamically. Now I need to inject some symbols to an…
enobayram
  • 4,650
  • 23
  • 36
2
votes
2 answers

Preload all images in a directory using jQuery

I want to preload all images in a directory called img,and that directory also contains sub directory called ui_images. I know how to preload specific images by putting their names in an array and doing the preloading work, but i want to know how…
Rafael Adel
  • 7,673
  • 25
  • 77
  • 118