# Preloading Files

**URL:** <https://forum.kirupa.com/t/preloading-files/167974>\
**Category:** web dev\
**Created:** [November 2, 2005, 9:52pm UTC](https://forum.kirupa.com/t/preloading-files/167974 "2005-11-02T21:52:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skOOb](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@skOOb](https://forum.kirupa.com/u/skOOb)\
**Post date:** [November 2, 2005, 9:52pm UTC](https://forum.kirupa.com/t/preloading-files/167974/1 "2005-11-02T21:52:43Z")

</div>

[font=Tahoma]I have been searching and testing for awhile now with no luck. I am not wanting to preload images, I am wanting to preload data files that will be used a couple pages into my site. These files have aas extensions and I am wanting to get them into the users cache before they hit the page that needs them. Each file is between 30-60kb. I am wanting to download these in the background, unknown to the user.[/font]  
[font=Tahoma][/font]  
[font=Tahoma]Ive tried to have a really small iframe that points to the file, but it is an unknown filetype and it just asks the user to download the file. Obviously I dont want this.[/font]  
[font=Tahoma][/font]  
[font=Tahoma]I tried using the Javascript Image object, but that didnt work because it rejected the src I gave it.[/font]  
[font=Tahoma][/font]  
[font=Tahoma]So, I am wanting to get these 5 files in the users cache before they try to access the certain page that uses them.[/font]  
[font=Tahoma][/font]  
[font=Tahoma]Any suggestions?[/font]  
[font=Tahoma][/font]  
[font=Tahoma]Thanks for any help. 🍺[/font]
