Disable feed cache for custom RSS feed?

I know the question is over a year old, and you probably already found a solution. In case this helps someone, here is a solution I came up with that adds a feed on an init hook, removes it when the plugin is deactivated, and also adds it back when the plugin is re-activated. The … Read more

Is the object cached?

If you use the WordPress API to retrieve the metadata, then it should be cached for you. If you do other complex stuff, there is the Transients API for caching data yourself, which will take advantage of whatever object cache you use with WordPress. EDIT – I should clarify, it’ll be loaded for each request … Read more

Reasonable Size Limit to options entry

Each page load triggers a database query that reads all the options (from what I’m aware the option records are all auto-loaded). Anyway 317 K is not something you should worry about, but there are better ways to store your data, for example a simple text file that gets read trough ajax only when the … Read more

Problem with caching, W3TC [closed]

The best way I can think of is to add a unique string to the end of the stylesheet include to get everything to update. For example, if you are including it in the header.php file: <link rel=”stylesheet” href=”https://wordpress.stackexchange.com/questions/62636/<?php echo get_stylesheet_uri(); ?><?php echo”?v=’. time(); ?>” /> Of course that will keep it from being cached… … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)