Git Product home page Git Product logo

Comments (6)

airesvsg avatar airesvsg commented on June 22, 2024

Hi @redprogrammer,
is DEBUG_MODE enabled?
Thanks

from wp-rest-api-cache.

redprogrammer avatar redprogrammer commented on June 22, 2024

Hi @airesvsg
DEBUG_MODE is not enabled
Thanks

from wp-rest-api-cache.

airesvsg avatar airesvsg commented on June 22, 2024

Hi @redprogrammer,
It's works fine for me.

Steps of my test:
1- I accessed the url: http://example.com/wp-json/wp/v2/posts?_embed
2- I activated the plugin;
3- I accessed the url: http://example.com/wp-json/wp/v2/posts?_embed
4- I edited the title;
5- I accessed the url: http://example.com/wp-json/wp/v2/posts?_embed
6- I accessed the url: http://example.com/wp-json/wp/v2/posts

Thanks

http://example.com/wp-json/wp/v2/posts?_embed

title-1

http://example.com/wp-json/wp/v2/posts

title-2

from wp-rest-api-cache.

redprogrammer avatar redprogrammer commented on June 22, 2024

can you check the one post child _embeded and wp:featuremedia child??

data[0]._embedded['wp:featuredmedia'][0].source_url normally take me the media url of the data but after install the plugin the content changes?

Can you compare the responses with activating/deactivatng the plugin please??
compare parts should be response sizes, response post _embeded parts

Thanks

from wp-rest-api-cache.

airesvsg avatar airesvsg commented on June 22, 2024

Ok, I'll check.
When the plugin is deactivated, all cache are cleaned.

from wp-rest-api-cache.

redprogrammer avatar redprogrammer commented on June 22, 2024

@airesvsg

http://example.com/wp-json/wp/v2/posts?_embed

this should be your refference link.

deactivate the plugin and take the response of the query save it, and activate the plugin again take the response of the query. then compare them. In the posts array, there must be a _embeded child in each post, in the _embeded child there must be wp:featuredmedia child. compare them please. When the plugin active there is recursion.

Best Regards

from wp-rest-api-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.