metno / metsis-drupal

contains METNO METSIS software
GNU General Public License v3.0
0 stars 0 forks source link

Fix web page cashing on search interface #33

Closed hevgyrt closed 10 months ago

hevgyrt commented 12 months ago

There is some cashing in the search interface module, such that a cashed page is shown when it is visited. As a consequence, the latest satellite products are not shown in satellittdata.no. More recent products should be shown. If possible, I suggest to revoke the cashing on an hourly, or even shorter, basis

magnarem commented 11 months ago

Added timebased caching to the metsis search view. It will be invalidated every 5 minutes, and should give more NRT feeling for the NBS products on satelittdata.no.

Other solutions is to disable the internal page cache module, which caches pages for anonymous users, as this module does not play too well with search api solr and external solr indexes.

magnarem commented 11 months ago

Uninstalled the "Interanal Page Cache" module on satellittdata..This should solve the problem. Will validate during the week.

magnarem commented 11 months ago

Still I do not get the latest products. I will investigate more.

magnarem commented 11 months ago

Looks like it works now. Will verify during this week.

magnarem commented 11 months ago

Disabling solr document result cache fixes the problem. Will update all sites with new config

magnarem commented 10 months ago

All sites updated. @hevgyrt . Can you confirm that satellittdata.no show the latest products in the search interface using anonymous user i.e. private window or something. If everything looks good we can close this

hevgyrt commented 10 months ago

Thanks @magnarem. From testing on both chrome and firefox, this looks good to me. Thus closing task.