• Resolved 1983jamesb

    (@1983jamesb)


    I use cloudways vps, there’s an easy install of redis and also ssh access.

    I am using a popular plugin ‘ajax load more’. It relies on admin-ajax.php to ‘load posts’ (ajax). Obv my whole site needs to load, then the ajax happens – final processes for full page load…

    Wondering if there is a way to cache these 2 PHP files to make my site even faster?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    You can theoretically MANUALLY cache that file, but this is really an object cache, NOT a request cache.

    If I were you, I’d use Cloudflare Workers or some kind of cache proxy to cache the requests.

    Thread Starter 1983jamesb

    (@1983jamesb)

    Wow thank you. In the meantime I did get a redis on my server, followed a guide and got the object caching you speak of. It helps. I have no idea bout the workers, but I am def going to look into it. I am in <3 with code SEO since 1 week, studying relentlessly.

    I was reading cloudflare has the fastest dns response, around 35ms while most other domain registrars are 100 or more. For that reason, I am transferring my domain to cloudflare for that fast DNS. Saving ~70ms per server request is great.

    I am unfamiliar with the methods you mention, but im going to study and see how they work!

    Thx again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Will this cache php?’ is closed to new replies.