I would suggest you to load PDFs & videos on your page after the page is completely loaded via AJAX. You can also use a logic in which only after the page loads completely, load the PDFs & videos on mouse move and while the page loading is in progress show a loader in place of PDFs & videos.
I have used this technique at many places and it works like a charm. Hope this helps you.
Related Posts:
- What is the difference between set and hashset in C++ STL?
- When should we use Radix sort?
- What is the best way to profile javascript execution?
- How to parallelize downloads across hostnames on WordPress?
- How to parallelize downloads across hostnames on WordPress?
- Steps to optimize WordPress in regard to server load and website speed?
- What are the best practices for using a caching plugin on a shared host?
- How can I debug the TTFB in WP?
- What’s the difference between wp_insert_user() and wp_create_user()
- How to fix wordpress slow first time load (Local Server)?
- Localized WordPress is much slower?
- W3 Leverage browser caching not working for google pagespeed [closed]
- Website is slow: advice on optimization
- Can we have a post without a slug?
- Use override_load_textdomain for cache translation and improve performance
- Combine JS and CSS for WordPress admin
- Any reason why wp_cache_set not to work?
- Will removing revisions positively impact database performance?
- Is WordPress fast enough for a heavy traffic project?
- Does a WP site consumes memory resources when there are NO visitors?
- Extremely slow WordPress website with 6000 posts
- In terms of performance – Is unmanaged VPS better than a managed one – for WP sites?
- How can WordPress be made more memory efficient?
- Get Y random authors’ ID/Object with more than X number of posts
- What is a reasonable get_num_queries() result?
- Disable Outbound Web Requests
- Hardcoding and WordPress Performance
- What should be disabled to run on an internal network with no access to the Internet?
- Does running WordPress on Nginx do “squat” for its performance?
- The effect of spam comments on hosting resource usage (CPU)
- How much will mounting wp-content on a separate NFS server impact performance?
- Could a higher number of registered image sizes affect performance?
- How many caching plugins should be used?
- Image Preloading
- Performance impact of using global $post
- WordPress Scalability – One Instance or Several?
- What Is The Best Method/Tool To Investigate WordPress Internal Performance?
- Do WP_debug notices explain why my site runs so slow?
- WordPress Caching On Demand
- Is there a real benefit in using wordpress optimized hosting?
- What is better to use, user meta, custom taxonomies or new database structure? [closed]
- How to disable Vary cache header on W3Total Cache plugin [closed]
- Point static content like css and js to cookieless subdomain
- upper limit on concurrent editing?
- Native Lazy Loading on Safari
- Page taking time in loading. Also used lazy loading but doesn’t work?
- Identify running process that constantly use 5% CPU
- Debugging high CPU usage during periods of inactivity
- How accurate is P3 Plugin profiler
- WordPress as framework
- Optimise page loading time faster on Genesis child theme [closed]
- Timezone is wrong when picking city (Copenhagen)
- does wordpress serve static files?
- Site loading extremely slowly
- Conditionally include files in functions.php?
- Bandwidth usage increased in WordPress 3.5
- High traffic management in WP
- Remove unused CSS and JS
- How to check performance of WordPress dashboard
- Horrendously slow admin and pretty slow sites [closed]
- Server technical information and first respond time for WordPress
- Avoid loading Facebook buttons and statistics multiple times
- Calling various CSS sheets in header a good idea?
- Using functions repeatedly instead of variables
- WordPress Site Speed (Maybe Server Issue)
- Speed optimization on WP site, Remove query strings from static resources [duplicate]
- Offloading cron jobs
- How do I make content only load on desktop? [duplicate]
- My blog load time on Bluehost and Word press is too much. I have slipped in Google Search Ranking
- WordPress digitalocean taking forever to load
- WordPress is very slow, even it’s not opening sometimes
- Faster Emails with WP Mail
- What could explain an extremely high TTFB (~20-30s) when not logged in, but then drastically reduced when logged in?
- Page flashes/flickers on every page load
- How can I figure out what is making my WordPress site so slow?
- “edit page” not loading
- Change loading order of blocks
- wp_set_post_terms() seems very slow
- licenses, subscriptions, etc and the impact on performance
- WordPress slow even use blank template
- Is WP-Cron / wp_schedule_event suitable for time-consuming actions?
- wp_get_attachment_image_src() regenerate custom size images everytime
- Why is the server response time slowing my site down? [closed]
- Control load order?
- admin.php taking 14 seconds
- How to handle high load of traffic of my server
- How to preload the entire site with javascript?
- Is there a way to pass google webmaster CLS on WordPress website?
- Site too Slow to establish db connection?
- Site load time increased
- WordPress and TTFB (time to first byte) stats
- Too many index.php files running and eating up all memory
- What’s a good tool for speed benchmarking? [closed]
- WordPress system (hardware) requirements?
- How much server power does Worldpress take? [closed]
- To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]
- JS/CSS duplicate load and 404 Error [closed]
- How can a single disk in a hardware SATA RAID-10 array bring the entire array to a screeching halt?
- How to optimize recaptcha__en.js
- How can I optimize my website for improved speed? [closed]