Skip to content

Implement eTag to the Modal for Cases#7790

Closed
estebangallego wants to merge 2 commits intoepic/FOUR-20929from
task/FOUR-20920
Closed

Implement eTag to the Modal for Cases#7790
estebangallego wants to merge 2 commits intoepic/FOUR-20929from
task/FOUR-20920

Conversation

@estebangallego
Copy link
Copy Markdown
Contributor

@estebangallego estebangallego commented Dec 3, 2024

Issue & Reproduction Steps

To improve performance and user experience, we need to preload all cases into the cache when the + Case button is clicked. This reduces load times and ensures a smoother interaction.

In this scenario, we utilize the ETag implementation to enhance the caching mechanism for the start_processes endpoint.

Solution

  • Implemented the ETag middleware for the start_processes endpoint to enable efficient response caching and validation.

How to Test

  1. Ensure the application has a substantial number of cases to work with.
  2. Click the + Case button to initiate the modal.
  3. Verify that a 304 Not Modified response is returned for cached data, confirming the ETag implementation is functioning correctly.

Screenshot 2024-12-03 at 12 40 18 PM

  • ci:deploy

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@tokensPM
Copy link
Copy Markdown

tokensPM commented Dec 3, 2024

QA server K8S was successfully deployed https://ci-2c97f2b7dd.engk8s.processmaker.net

@eiresendez
Copy link
Copy Markdown
Contributor

Closing in favor of:

#7892

@eiresendez eiresendez closed this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants