Skip to content

Extend Last-Modified and If-Modified-Since to prev/next Ajax requests#401

Merged
joewiz merged 1 commit intomasterfrom
frus-ajax-last-modified
Apr 6, 2022
Merged

Extend Last-Modified and If-Modified-Since to prev/next Ajax requests#401
joewiz merged 1 commit intomasterfrom
frus-ajax-last-modified

Conversation

@joewiz
Copy link
Member

@joewiz joewiz commented Feb 11, 2022

This PR extends #396 to previous & next navigation buttons on TEI resources.

Requests to the frus-ajax.xql endpoint will now:

  • Return Created and Last-Modified response headers
  • Handle a If-Modified-Since request header, returning a 304 Not Modified status if appropriate

The PR also adds comments explaining how the url request parameter maps onto publication resource identifiers and changes variable names to conform to the conventions used in pages.xqm and config.xqm.

Extend #396 to previous & next navigation buttons on TEI resources
@joewiz
Copy link
Member Author

joewiz commented Feb 11, 2022

@agh2342 I'd welcome your feedback again when you have the chance.

@joewiz
Copy link
Member Author

joewiz commented Apr 6, 2022

Merging this so further work can take place on the nginx configuration end.

@joewiz joewiz merged commit a10f330 into master Apr 6, 2022
@joewiz joewiz deleted the frus-ajax-last-modified branch April 6, 2022 15:05
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.

1 participant

Comments