Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8032 (closed)

Opened 12 years ago

Closed 12 years ago

Apply Apache mod_cache

Reported by: ajpatterson Owned by: ajpatterson
Priority: major Milestone: OMERO-4.4
Component: General Version: n.a.
Keywords: n.a. Cc: web-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-02-14 (8)

Description

Use apache mod_cache to implement a disk cache for the WebClient?

Change History (4)

comment:1 Changed 12 years ago by ajpatterson

  • Cc atarkowska wmoore cxallan added
  • Owner set to ajpatterson
  • Status changed from new to accepted

comment:2 Changed 12 years ago by atarkowska

  • Cc web-team@… added; atarkowska wmoore cxallan removed

comment:3 Changed 12 years ago by ajpatterson

Changes made to apache to get the caching working:

	CacheRoot /apache-cache/root/
	CacheIgnoreHeaders Set-Cookie Referer Cookie
	CacheEnable disk /static
	CacheEnable disk /webclient/render_birds_eye_view/
	CacheEnable disk /webclient/render_image_region/
	CacheEnable disk /webclient/render_thumbnail/
	
	<Location /webclient/render_birds_eye_view/>
		ExpiresActive On
		ExpiresDefault "now plus 1 year"
		Header unset Vary
		Header set Vary "Host"
	</Location>
	
	<Location /webclient/render_image_region/>
		ExpiresActive On
		ExpiresDefault "now plus 1 year"
		Header unset Vary
		Header set Vary "Host"
	</Location>
	
	<Location /webclient/render_thumbnail/>
		ExpiresActive On
		ExpiresDefault "now plus 1 year"
		Header unset Vary
		Header set Vary "Host"
	</Location>

NOTE: this will result in a reduced level of security as the rendered tiles are now in the cache and could be retrieved without login on.

comment:4 Changed 12 years ago by ajpatterson

  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68976 sec.)

We're Hiring!