There is no explicit mechanism for disk based caching. If you are writing a plugin or theme you intend to distribute you should be careful with allocating a folder for it, probably better to have some kind of an option for a user to configure that location. If this is something for a specific site, at least this should not be a problem, but you should probably use a directory which is not web public.
Of course, you should consider do you actually need to create such a thing. Unless you need to store a huge amount of data per “item” in the cache you are more likely to get a good enough results using an object cache plugin. You can store data directly with the wordpress caching api (wp_cache_get
and family functions), or indirectly with transients, with the big advantage of not having to design something new yourself 😉
Related Posts:
- Steps to optimize WordPress in regard to server load and website speed?
- How well does WordPress scale?
- What are the best practices for using a caching plugin on a shared host?
- What is the best caching option for WordPress multi-site on non-shared hosting?
- W3 Leverage browser caching not working for google pagespeed [closed]
- Any reason why wp_cache_set not to work?
- Extremely slow WordPress website with 6000 posts
- How many caching plugins should be used?
- Preload Cache for thousands of posts may be on non-production environment
- W3 Total Cache: use cache for request with ignorable query string [closed]
- Avoid loading Facebook buttons and statistics multiple times
- Minifing js files with w3 total cache and expiring the combined file [closed]
- To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]
- what does O(N) mean [duplicate]
- Measure the time it takes to execute a t-sql query
- Which Python memory profiler is recommended? [closed]
- What is the difference between spark.sql.shuffle.partitions and spark.default.parallelism?
- What is the difference between set and hashset in C++ STL?
- When should we use Radix sort?
- Java check if boolean is null
- What is the best way to profile javascript execution?
- the asymptotic growth of n choose floor(n/2)
- How to parallelize downloads across hostnames on WordPress?
- How to parallelize downloads across hostnames on WordPress?
- Slow Query for the wp_options table
- How can I debug the TTFB in WP?
- 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?
- WordPress SLOW, tried everything!
- Localized WordPress is much slower?
- Nginx FastCGI_Cache Vs PHP Caching
- How many posts can I have in a WordPress website?
- WordPress so slow to load on MAMP
- Do multiple revisions really slow down WordPress?
- get_adjacent_post alternative on a very large db
- Should I use Transients with W3 Total Cache APC Caching? [closed]
- Will I see a performance hit if I use native API calls like get_the_title() instead of $post->post_title?
- Fastest server stack configuration for WordPress?
- Cache WordPress translations
- Nginx + WordPress + HHVM: Why isn’t Batcache working? Would Varnish help even more?
- Website is slow: advice on optimization
- Can we have a post without a slug?
- Refresh external feeds only in cron?
- Use override_load_textdomain for cache translation and improve performance
- How can I reduce the number of database query calls for this custom homepage?
- What is the proper use of https in a modern E-Commerce environment?
- Combine JS and CSS for WordPress admin
- Will removing revisions positively impact database performance?
- Is WordPress fast enough for a heavy traffic project?
- What are best practices for configuring a server for WordPress sites?
- Does a WP site consumes memory resources when there are NO visitors?
- In terms of performance – Is unmanaged VPS better than a managed one – for WP sites?
- Utilize WordPress Authentication Only
- How can WordPress be made more memory efficient?
- WordPress tries to load “next page” after done loading current page
- Get Y random authors’ ID/Object with more than X number of posts
- What is a reasonable get_num_queries() result?
- Speeding Up Bulk Post Creation – wp_insert_post & update_post_meta
- How to properly insert a stylesheet in wp_head
- Performance impact of using functions in WordPress?
- Localization / textdomain is slow and chaotic
- Disable Outbound Web Requests
- WordPress performance issue. Can I debug it?
- Hardcoding and WordPress Performance
- Using Multiple Queries of “home_url” vs. Calling a Variable Multiple Times
- 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?
- What other plugins are there available to track app performance for wordpress?
- Combining multiple javascript and css files
- Why can’t /wp-login.php be load balanced?
- Image Preloading
- WordPress Meta description – is it better to use manual configuration?
- Preload external PHP information
- Performance impact of using global $post
- Is using WP Transients to save external data for a plugin the best/right way?
- Optimizing Jetpack for WordPress [closed]
- Removing translation textdomain
- WordPress site is sloooow, but admin is fast….any ideas?
- WordPress Scalability – One Instance or Several?
- What Is The Best Method/Tool To Investigate WordPress Internal Performance?
- AWS (or others) vs VPS
- Do I manually minify css code in my main theme or child theme?
- Is post_class(); going to slow WordPress page speed
- Downsize CPU & DB usage in wordpress
- Do WP_debug notices explain why my site runs so slow?
- cross-host benchmarking with wordpress
- Performance problem with first load
- WordPress 3+ slow load times on Ubuntu 10.10
- Is there a real benefit in using wordpress optimized hosting?
- What is better to use, user meta, custom taxonomies or new database structure? [closed]
- Correct way to perform non-cacheable DB query
- How to disable Vary cache header on W3Total Cache plugin [closed]
- Point static content like css and js to cookieless subdomain
- Reasonable Size Limit to options entry
- upper limit on concurrent editing?