chenejac / VIVOTestMigrationJIRA

0 stars 0 forks source link

VIVO-1865: HTTP caching broken in VIVO v1.11.x #1756

Closed chenejac closed 4 years ago

chenejac commented 4 years ago

Benjamin Gross (Migrated from VIVO-1865) said:

Caching, as described in https://wiki.lyrasis.org/display/VIVODOC111x/Use+HTTP+caching+to+improve+performance does not work.

It appears that Apache successfully stores the cache file to disk, but VIVO never serves it up.

chenejac commented 4 years ago

Benjamin Gross said:

It appears that etags are never stored in the Solr search index which VIVO relies on for determining if a page is stale.

See etag processing chain from old file here: https://github.com/vivo-project/Vitro/blob/vitro-1.10.0/home/src/main/resources/solr/conf/solrconfig.xml#L1832

chenejac commented 4 years ago

Benjamin Gross said:

Pull request to add the etags: https://github.com/vivo-community/vivo-solr/pull/3

chenejac commented 4 years ago

Benjamin Gross said:

See https://jira.lyrasis.org/browse/VIVO-1866 for more general issue on solrconfig.xml

chenejac commented 4 years ago

Andrew Woods said:

Resolved with: https://github.com/vivo-project/vivo-solr/commit/f52242b5d5bf4e987c540c4a59cfbe61d6a0419b

chenejac commented 2 years ago

This issue is related to #1757