Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #47271
    Alex
    Guest

    Hello,
    I wanted to ask you my site is a blog where every hour I post news and I created a connected app where I get the news of my db through API calls on my wordpress backend.
    Since I have a lot of news about the db the API calls are slow due to complex queries, I wanted to put the response json to my API call in the cache, is it possible to do it with your Rest API in the pro version of W3 Total Cache? and then maybe I take the response json and upload it to bunnycdn

    #47305

    Hello Alex,

    Thank you for reaching out and for using W3 Total Cache.
    If you use WordPress as a backend for integrations, API caching may be for you. Similar to page caching, repeat requests will benefit by having significantly lower response times and consuming fewer resources to deliver. If WordPress is not used as a backend, for additional security, the API can be disabled completely.
    However, I am not quite sure about the question and use case you are referring to.
    Let me check some more and I’ll get back to you with more information.
    Thanks!

    #47308
    Alex
    Guest

    more details: i have a news site I use wp as a backend and every hour I post 1/2 news. To my site I connected my app that takes news, comments, etc. through API calls, but logically the queries are heavy, for now I recreate the cache every 5/10 minutes. My goal was to be able to cache the json I received as a response from the api and to recreate the cache only if new news is added, I tried with wp super cache, wp rocket, wp rest cache, wp rest cache api. Do you have any advice?

    #47338
    Alex
    Guest

    Thanks Merko,
    I solved

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Question about Rest API’ is closed to new replies.