Comments (7)
Hi, I have the same issue. I tried to limit the number of photo per post/page in Awesome Flickr Gallery settings (now at 8 pictures), but I didn't help.
I also tried to activate a cache in wordpress (Supercache plugin), but still ultra slow to display!
In fact, as soon as I activate the AFG plugin, the whole Wordpress install goes very slow (admin interface too)! When I deactivate the plugin, site + admin are fast again.
@justynspooner do you have the same problem in admin interface, or is it just slow when loading the galleries?
Edit: I precise that I use WP version 3.9.1 and Awesome Flickr Gallery version 3.5.0
from awesome-flickr-gallery-plugin.
Images are not cached on the host, they are directly served from Flickr. That's better as it puts less load on your hosting server and Flickr's response time in general is better than shared hosting most users have.
The slowness you are seeing is because of the REST call to api.flickr.com that plugin has to make. AFG has to make at least one call per gallery to flickr, which is relatively slow. I can provide an option in plugin where this call can be avoided, but you'd have to manually fetch data whenever you upload new photos on Flickr.
from awesome-flickr-gallery-plugin.
In fact I have 100 galleries in AFG, so there should be at least 100 REST calls when loading any wordpress page (by the way, does this include admin interface pages?), which can explains the slowness!
So yes, it would be great if you could create this option to enable/disable calls!
Thanks
from awesome-flickr-gallery-plugin.
I think this article describes the problem we're having. http://wp-events-plugin.com/tutorials/caching-thumbnails-generated-by-timthumb/
If that is the case, then I'm wondering whether using TimThumb is beneficial for a small site? The excessive PHP processing to display the gallery seems over kill. I'd prefer to have a cache of thumbnails on my website host and then any larger images to be requested on demand from flickr.
I've only briefly looked into this but does the above sound about right?
from awesome-flickr-gallery-plugin.
TimThumb comes into picture only when you don't use one of the predefined sizes for thumbnails.
Having images cached on the host is not better than serving them from Flickr.com. When I go to your website on my browser, the images come from Flickr.com instead of your host. So your host has to do less amount of work to render the same page.
I'll put an option in advanced settings to disable this call. This should help users who have lot of galleries on same page.
from awesome-flickr-gallery-plugin.
Thanks @ronakg ! It would be great to have such an option!
By the way, I found out that the 3.5.0 version was the cause of the slowness of my entire wordpress install (including web pages and admin interface); When i manually installed version 3.3.5 of AFG the problem was solved; It still slow when displaying pages with several galleries, but this will be solved with your fix.
from awesome-flickr-gallery-plugin.
I've added an option to set cache refresh interval in advanced settings page. Configure this according to your usage.
from awesome-flickr-gallery-plugin.
Related Issues (20)
- Could not resolve host: api.flickr.com; Name or service not known
- Account still showing cached gallery
- Permission
- Can't add new gallery
- AFG compatible with php7.2? HOT 1
- Cannot Add Gallery
- Only one image appears of my album
- Add Gallery | Awesome Flickr Gallery Cache
- Awesome Flickr gallery plugin cache is not refreshing
- My photostream won't refresh caching
- PHP error: Undefined index for width and height
- Transfer to an other server
- Broken Images After Fifth Gallery
- Flickr: permission denied
- The Gallery code does not work correctly - partly HOT 1
- Pagination arrows and page links go away when I log out of the website HOT 1
- AFG not working anymore
- AFG Using jQuery which has been removed in WP 5.5 HOT 2
- The Plugin "Awesome Flickr Gallery" has been removed from wordpress.org
- Awesome Flickr Gallery problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-flickr-gallery-plugin.