No the depth of your directory structure has almost no impact to load time.
Maybe if your structure is very depth and the URLs for the images are very long you can hit the maximum length or your markup blows up. But a flat hierarchy should not be a problem as long as you keep the file names short enough.
Then again, if your store everything in one directory, there may be name collisions. But WordPress checks for that during the upload with wp_unique_filename()
, so you should not worry about that too.
Related Posts:
- Creating directory in uploads – wp_mkdir_p() or WP_Filesystem?
- Convenient way to use wp_filesystem
- Is there a WP Way of getting a filehandle?
- Is fopen() forbidden in WP?
- Converting fopen/fwrite operations to WP_filesystem
- External pages redirecting back to wordpress
- WordPress Login doesnt respond after using Filezilla to upload my files on the server
- List of files/folders writable by the web server?
- Save PDF File From Plugin to Filesystem /wp_upload
- accessing files in custom folder in wordpress
- What dependencies should I load and to use the WP_Filesystem?
- What files are safe to delete after a security breach in WP content folder?
- Failed opening required
- Correct file permissions for in-browser updates using WP-CLI
- WordPress installation on digitalocean eating the server storage
- Serve contents from Nextcloud / WebDAV
- temphangle variable missing when using wp_filesystem copy
- File ownership for file tree php user ID – Folder permission 775
- How to write to a text file and save it in a folder for later download?
- 403 Error on “/”
- Get names and paths from unzip_file()
- Should I use Filesystem API for reading files or listing directories?
- saving file to external server vip
- Time limited file download upon form submit
- Does unzip_file() over-write by default?
- LIKE vs CONTAINS on SQL Server
- What’s the best way to search for a UPC code in a Database?
- How to measure elapsed time in Python?
- What do Clustered and Non-Clustered index actually mean?
- what does O(N) mean [duplicate]
- When should I use CROSS APPLY over INNER JOIN?
- Convert Set to List without creating new List
- Fastest way to check if a value exists in a list
- Returning an empty string : efficient way in c++
- Measure the time it takes to execute a t-sql query
- How can you profile a Python script?
- Replace values in list using Python
- Most efficient way to map function over numpy array
- What’s the best way to convert a number to a string in JavaScript?
- Which Python memory profiler is recommended? [closed]
- What is the difference between spark.sql.shuffle.partitions and spark.default.parallelism?
- Python Sets vs Lists
- Big O, how do you calculate/approximate it?
- What is the difference between call and apply?
- What is the difference between set and hashset in C++ STL?
- Returning an empty string : efficient way in c++
- Declaring multiple variables in JavaScript
- Count(*) vs Count(1) – SQL Server
- HashSet vs. List performance
- Static linking vs dynamic linking
- How to get current time in milliseconds?
- Best way to reverse a string
- Is Python faster and lighter than C++?
- When should we use Radix sort?
- ADB stopping at (waiting for devices)
- Fastest way to remove first char in a String
- Make first letter of a string upper case (with maximum performance)
- Best way to test if a row exists in a MySQL table
- Efficient way to do batch INSERTS with JDBC
- Java check if boolean is null
- What is the best way to profile javascript execution?
- Is it more efficient to return a const reference
- the asymptotic growth of n choose floor(n/2)
- Fastest way to generate a random boolean
- what is ScriptResource.axd in the page load in web app?
- How to parallelize downloads across hostnames on WordPress?
- How to parallelize downloads across hostnames on WordPress?
- Get difference between two lists
- How to create a new object instance from a Type
- MySQL INSERT INTO table VALUES.. vs INSERT INTO table SET
- C++ performance vs. Java/C#
- How to use Memcached with PHP7?
- What’s the best way to dedupe a table?
- Steps to optimize WordPress in regard to server load and website speed?
- Do deactivated plugins slow down a WordPress site?
- Ajax takes 10x as long as it should/could
- How well does WordPress scale?
- What are the best practices for using a caching plugin on a shared host?
- What is the difference between the .po .mo and .pot localization files?
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- get_option() vs get_theme_mod(): Why is one slower?
- Slow Query for the wp_options table
- Profiling a WordPress Website for Deployment on Shared Hosting?
- Delete all posts of a custom post type—efficiently
- Performance of my permalink structure?
- What is the best caching option for WordPress multi-site on non-shared hosting?
- Where to store PHP files created by plugin / themes
- WordPress usermeta scaling for thousands of users
- How can I debug the TTFB in WP?
- Restricting a Plugin to Only Load its CSS and JS on Selected Pages?
- Optimize apache for WP use
- What’s the difference between wp_insert_user() and wp_create_user()
- How to fix wordpress slow first time load (Local Server)?
- What’s the ideal way to profile WordPress memory usage?
- Why is home (a lot) slower than other pages?
- How to share WordPress core library
- How to use Head JS with all enqueued scripts?
- WordPress SLOW, tried everything!
- Strategies to implement selective loading of plugins
- Localized WordPress is much slower?