Tag Info

New answers tagged

1

Opcache is transparent for WordPress (as it is to any PHP application). However if you had been using APC for object cache (key/value store) via plugin — that function is not available in new bundled Zend cache, it only does opcode caching. You would need to replace object cache with something different (APCu/Memcache/Redis/etc).


1

Problem solved. Had two pages with the same content, and slightly different names, and I was updating the other one.


1

If you observe how the popular caching plugins like WP Super Cache or W3TC utilize a cache folder within wp-content as well as other plugins who utilize uploads or cachable files it would be appropriate to create a folder within that structure. A side issue may arise if the user has a locked down folder structure as you indicated and the plugins folder may ...


1

You could use Teleport or some other crawler to create a "proper" offline version of the website. However, if your client would want to showcase posting something or some other functionality that requires database interaction, then you're far better off using a local installation on XAMPP or alternatives of it (enable Apache and MySQL to run as Windows ...


1

The Transient API saves data inside the database, which isn't as effective as APC, but a similar workflow as used for transients can be used for APC. It is important to check if APC is available and active, so its functions are usable. Because this isn't always the case, it is to consider to add a alternative to APC via Transient API and combine those two ...


1

It was just a missed line of code since it's a new WP_Query: Needed to add 'posts_per_page' => -1 to $the_query = new WP_Query(array( 'post_type' => 'projects' ));


0

This may not be exactly what you're looking for but there are a bunch of cache control options: You can open up Dev Tools (Right click screen, Inspect Element) then at the Top Right you can click the Gear (settings) - in General you have the option to Disable Cache. Another thing you can do is hold CTRL+Refresh (F5) which will clear you cache and refresh. ...


2

Is it possible to give drop-ins in their own subdirectory of wp-content instead? No, it is not possible without editing the core WordPress code.


0

To flush a single page by post id in w3tc v0.9.3 I found this worked: if (function_exists('w3tc_pgcache_flush_post')){ w3tc_pgcache_flush_post($post_id); }



Top 50 recent answers are included