• Resolved dammsugare

    (@dammsugare)


    Hi,
    I have PHP 5.5.21 with Global Rocket Cache and Opcode and APCu.
    I wanted to use the APC method and put
    <Files index.php>
    php_value auto_prepend_file /pfad/plugins/cachify/apc/proxy.php
    </Files>
    in my htaccess but then neither front-or backed were visible(both white screens).
    Am I missing something?

    https://wordpress.org/plugins/cachify/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Anonymous User 7658014

    (@anonymized_7658014)

    Did you replace /pfad/ with the full path to your plugins folder?

    Thread Starter dammsugare

    (@dammsugare)

    Hi,
    I have this:
    <Files index.php>
    php_value auto_prepend_file /html/wordpress/wp-content/plugins/cachify/apc/proxy.php
    </Files>

    Or do I need to completely enter my webiste’s name?

    Anonymous User 7658014

    (@anonymized_7658014)

    To be safe please check with your hosting service what you should enter as absolute path to your web space.

    Also, the APC feature can/must be configured via .htaccess or php.ini. This also depends on your web host’s server settings.

    Best check with your host if you have privileges to do an auto_prepend_file via .htaccess, or if you would need php.ini access.

    Thread Starter dammsugare

    (@dammsugare)

    Hi,
    sorry, got it fixed 🙂
    One question though: When freshly cached, the pages take around 4-5 s to load. Is there anything to do about that? I am new to the concept of caching and not sure exactly how this works, but in the options where you can set a time for the cache to be emptied, does this mean the first person every 12 hours(or when a new post is published) will have to “endure” through the pages taking 5 s each to load??

    Thread Starter dammsugare

    (@dammsugare)

    Also, for the security reasons I have added my htaccess to block include files and wp-content. Is this a problem for Cachify?

    Anonymous User 7658014

    (@anonymized_7658014)

    Glad you got it fixed. 🙂

    Regarding loading times: 4-5s sounds pretty heavy for a page to load. When it has been cached, it usually should load way faster. (Depends, of course, what type of content gets loaded exactly.) Even for an uncached page, 4-5s sounds like a lot. If you’d provide a URL of that page, we could take a closer look maybe.

    where you can set a time for the cache to be emptied, does this mean the first person every 12 hours(or when a new post is published) will have to “endure” through the pages taking 5 s each to load?

    Yes, when the cache has just been emptied, the first visitor will experience a slightly longer page load than all visitors after that one. Again, 4-5s doesn’t sound reasonable—not for an uncached page, let alone a cached one.

    Thread Starter dammsugare

    (@dammsugare)

    Hi,
    thank you for your help.
    Sorry of ccourse I meant an UNCACHED page takes around 5 s and a CACHED about 2-3s, sometimes only 1 s(very confusing and varying results in Pingdom).
    Would it be possible to email you my link? My site is not open to public yet.

    Anonymous User 7658014

    (@anonymized_7658014)

    In that case I’d say that’s normal behavior.

    It seems there’s still room to optimize your site for even better results. However, please understand going into individual performance optimization would very soon get out of scope for a community support forum. Maybe you can find an expert working with you on further optimization as a paid assignment? (We don’t do that, and we wouldn’t trying to advertise here if we would, but there are WP job boards.)

    Since your initial issue has been resolved, would it be ok to close this topic?

    Thanks!

    Thread Starter dammsugare

    (@dammsugare)

    Okay, thank you.

    Thread Starter dammsugare

    (@dammsugare)

    hi,
    actually, there is one more problem: I am using Woocommerce and when Cachify is actvated, I cannot add products to the cart. Do I need to set up specail settings for Woocommerce?

    Anonymous User 7658014

    (@anonymized_7658014)

    The initial issue from the headline of this topic here has been solved, and you have confirmed it is, so I’ll close this topic now as resolved.

    I’ll be happy to dive into that new question. However, solely because of better forum administration, please copy that new question over to a new topic. 🙂 Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Trying to set up APC’ is closed to new replies.