Hi,
This is no currently possible, but I’ve added this to our todo list.
In the mean time, you can turn on “serve cached pages to logged in users”. Then to view a non-cached version of a page when logged in, you can add any parameter to the URL. E.g. getwpo.com/?something=1
Marc.
I checked the cache folders and the attachment page, it indicates
<!– Cached by WP Optimize (gzip) – https://getwpo.com – Last modified: Mon, 28 Oct 2019 09:30:56 GMT –>
I also checked the cache files on the server and they are present (Url image.php)
> wp-contents
> cache
> wpo_cache
> domain
> post name
> name attachment-page-from-gallery 1
> name attachment-page-from-gallery 2
> name attachment-page-from-gallery 3
...
https://site.com/name-of-post/attachment-page-with-image-png/
-
This reply was modified 1 year, 4 months ago by
kolshix.
-
This reply was modified 1 year, 4 months ago by
kolshix.
@kolshix Just to clarify, the attachments get cached like other posts. What’s not currently possible is to select which user role is served a cached version of the page. By default, a logged in user does not get any cache served. If you select “Serve cached pages to logged in users”, all logged in users will be served cached pages, no mater their role.
In that context, I’m not sure what your previous message meant?
Marc.