Google Photos doesn’t support caching – it provides URLs that expire after every 30 minutes. You will have to exclude the page that has the videos from the caching plugin’s setup.
Now, if you want to exclude a page from your caching plugin, you have to ask that caching plugin for support – this is a question specific to the caching plugin.
It is not a question about caching from Google Photos. I know how to exclude a page from caching.
Does your plugin use any javascript(Js)? What are the name of the file?
Does your plugin use any javascript(Js)? What are the name of the file?
Yes, Photonic uses JavaScript, but not to fetch photos. Photos are always fetched by the PHP part of the plugin. Even if you exclude the JavaScript from caching it will not have any effect.
Regarding the file name, it depends on your setup. Photonic has multiple configurations possible, depending on your lightbox preference and your preference for loading certain scripts. For each configuration it uses a different pre-compiled minified JS file. If you tell me what your site is I can tell you which specific file it is using.