WordPress.org

Ready to get started?Download WordPress

Forums

Hyper Cache
[resolved] some corrections (5 posts)

  1. szepe.viktor
    Member
    Posted 1 year ago #

    Good morning!
    Some corrections to your plugin.

    hyper-cache/cache.php:157
    if (isset($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos($_SERVER['HTTP_ACCEPT_ENCODING']

    :128
    if (isset($hyper_data['location']) && $hyper_data['location']) {

    :39
    :318
    $hyper_agent = isset($_SERVER['HTTP_USER_AGENT'])? strtolower($_SERVER['HTTP_USER_AGENT']) : '';

    Thank you!

    http://wordpress.org/extend/plugins/hyper-cache/

  2. mbrsolution
    Member
    Posted 1 year ago #

    Thank you kindly for your correction szepe.viktor. Since this is just a correction and it is not an issue any more. Could you close this thread as resolved unless you feel it needs to stay open.

    Thank you kindly.

  3. szepe.viktor
    Member
    Posted 1 year ago #

    I hope it gets into the next release.
    Using it on: online1.hu

  4. mbrsolution
    Member
    Posted 1 year ago #

    Hello and sorry for the question. What exactly does your code do to improve the performance? I am currently learning more about php?

  5. szepe.viktor
    Member
    Posted 1 year ago #

    there are situations when there is no HTTP_ACCEPT_ENCODING or HTTP_USER_AGENT header in the HTTP request - e.g. robots
    in these cases those lines produce PHP notices

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic