Page Sepeed Test - Serve resources from a consistent URL

Phoca Gallery - image gallery extension
risk4me
Phoca Member
Phoca Member
Posts: 12
Joined: 06 Jan 2019, 20:47

Page Sepeed Test - Serve resources from a consistent URL

Post by risk4me »

Hello
When we run a speed test (for example with gtmetrix.com) we get the following results for phoca gallery:

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 3 request(s) and 291B:

my.domain/components/com_phocagallery/assets/jak/img/shadow-lb.png
my.domain/components/com_phocagallery/assets/jak/img/shadow-lt.png
my.domain/components/com_phocagallery/assets/jak/img/shadow-rb.png
my.domain/components/com_phocagallery/assets/jak/img/shadow-rt.png

Is it possible to optimize this, so that only one query is necessary (serve resources from a consistent URL).
The shadows of these pictures are identical.

Thanks for the support.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Page Sepeed Test - Serve resources from a consistent URL

Post by Jan »

Hi, just don't use obsolete popup javascript library and run some modern like Magnific or Photoswipe.

Jan
If you find Phoca extensions useful, please support the project
Post Reply