Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
PreparsedDocumentProviderConfig only cache Result of Query Parsing step. Query would still be executed as normal flow. It doesn't cache response of Query Execution. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, i am implement a caching in my backend server:
`
public static void main(String[] args) {
SpringApplication.run(Dsrp2022BackendApplication.class, args);
}
`
`
@DgsQuery
public Webinar webinarById(@InputArgument String webinarId) {
`
query webinarById($webinarId: ID!) { webinarById(webinarId:$webinarId) { webinarId codeWebinar name description urlPhoto webinarSpeaker { id user { userName lastName biography jobTitle university } } webinarRegistration { id user { name lastName email biography } } } }query variables:
{ "webinarId": 1 }My Log:
2022-01-28 17:07:36.436 INFO 4612 --- [nio-8081-exec-7] c.d.b.tracing.TracingInstrumentation : Total execution time: 1020ms 2022-01-28 17:07:36.439 INFO 4612 --- [nio-8081-exec-7] i.StatisticalLoggingSessionEventListener : Session Metrics { 97323347 nanoseconds spent acquiring 1 JDBC connections; 0 nanoseconds spent releasing 0 JDBC connections; 457248 nanoseconds spent preparing 3 JDBC statements; 399546274 nanoseconds spent executing 3 JDBC statements; 0 nanoseconds spent executing 0 JDBC batches; 0 nanoseconds spent performing 0 L2C puts; 0 nanoseconds spent performing 0 L2C hits; 0 nanoseconds spent performing 0 L2C misses; 0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections); 0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections) }What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions