Problem/Motivation

The current cache service is not enough. In the opengraph_filter_get_html function, it operates with temporary memory rather than persistent memory. That's why when we refresh a page, we don't take data from cache and make a new request each time.

Steps to reproduce

I've put a marker in the opengraph_filter_get_html function. One for scenario A (request), the other for scenario B (cache). Start creating a node, and go to the preview. You will see the status "request"(it's OK). Then refresh the page, and the same status remains(it's not OK).

Proposed resolution

Improving the cache service by adding a new one with other settings. It should work with a persistent memory that allows us to take cache data.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

just-me created an issue. See original summary.

just-me’s picture

Assigned: just-me » Unassigned
Status: Active » Needs review

  • loon committed 3a8ef558 on 8.x-1.x authored by just-me
    Issue #3561425: Added the cache service and use it in the...
loon’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.