Konstantin Kovshenin
Forum Replies Created
-
Forum: Plugins
In reply to: [Surge] Cache 404s?You’re very welcome!
Forum: Plugins
In reply to: [Surge] Cache 404s?Hey Jason,
Surge definitely considers a 404 response for caching, however WordPress core sends nocache headers by default for 404 requests, which the Surge plugin respects. If you’d like to actually cache and serve 404 request, you’ll have to modify the default core behavior using the
pre_handle_404ornocache_headersfilters to prevent these headers from being sent.Hope that helps!
Forum: Plugins
In reply to: [Surge] Problem with The SEO Framework pluginLooks like the SEO Framework plugin author has decided to simply disable caching for sitemap requests, rather than addressing the problem. Either way, not a Surge problem, so closing as resolved.
Forum: Plugins
In reply to: [Surge] Problem with The SEO Framework pluginBoth requests will eventually produce empty cached output due to the way The SEO Framework handles output buffering. I’ve opened a bug report here: https://github.com/sybrew/the-seo-framework/issues/751
(I believe the URL in the OP is now using a different SEO/sitemap plugin)
- This reply was modified 6 months, 2 weeks ago by Konstantin Kovshenin.
Forum: Plugins
In reply to: [Surge] Problem with The SEO Framework pluginHi @mafe65, thanks for reaching out!
There is a problem with the SEO Framework plugin and how it handles the sitemap output. Unfortunately this is not something that I can easily address in the Surge plugin, however I will reach out to the author of the SEO plugin to see if they can fix it. Hopefully it is addressed in the next update of their plugin.
Forum: Plugins
In reply to: [Surge] PHP Fatal errorHi Alex, sounds like you’re ending the response before the pluggables are loaded. I’ll add a fix for this in the next release, but in the meantime, if you could provide more information on your environment and whether you have any custom cache/Surge configuration, that would be great.
Thank you!
Forum: Reviews
In reply to: [Surge] A tiny caching plugin that works and needs no adjustments!Thank you so much for the kind words Greg!
Forum: Plugins
In reply to: [Surge] Gives error message on Subdomain.Top-level or subdomain doesn’t really matter for Surge. If the message shows up it means that it’s having trouble updating the WordPress configuration file (wp-config.php) to enable page caching, and/or creating the wp-content/advanced-cache.php file. Make sure the former is writable by the user executing the script, and the latter does not exist (often left from a previous caching plugin).
Hope that helps!
Forum: Reviews
In reply to: [Surge] fpassthruYes, fpassthru has to be available. Most reputable hosting providers will have this function enabled.
Forum: Reviews
In reply to: [Surge] Finally a Caching Plugin I can get behind!Thanks Jason, I appreciate the review!
No problem. Doesn’t really look like a very common (or maintained) library to be honest, but also not relevant to this conversation. I’m not here to fix your plugin, or any of its upstream dependencies. I came here to share my experience with this product.
I’ve never used it, don’t even know what it does. I just logged into some WordPress site and it blew up in my face, begging for a review. So here I am, simple as that 🙂

Here’s a screenshot. Can’t believe none of the 30k users pointed this out before, so here’s one I found with a 4 second search. Also makes it within the gray area of the plugin guidelines and soliciting reviews, but I’m not here to argue about that.
Forum: Plugins
In reply to: [Surge] /wp-content/cache/surge/ php filesYeah, there is some binary in the file. Here’s how it’s generated.
Hope that helps!
Forum: Reviews
In reply to: [Surge] Brilliant plugin. No bloat. FAST!Thanks for the kind words James, glad you like the plugin!
Forum: Plugins
In reply to: [Surge] Feature suggestion: memcached supportThanks for the kind words, will certainly consider it for future updates!