Disable minification for a specific url pattern
-
I want to disable caching/minification for a specific url pattern (which outputs a PDF file only to the logged in users).
The sample url: https://mywebsite.com/pxpdflip_stream/204, (where 204 will vary)
The url redirection is defined in the htaccess as:
RewriteRule ^pxpdflip_stream/([^/]+)[/]?$ /wp-content/themes/mytheme/lib/FlipBook/1.0/lib/streamfile.php?ao=$1 [QSA,L]
So far, I have added an entry like this in the ‘Never minify the following pages’ section of ‘Performance > Minify > Advanced’ :
/pxpdflip_stream/.*
But it is not working. The page outputs a 500 error. Once the plugin is disabled, it works fine Can you please help?
PS: I want to exclude these pages from all types of caching.
- You must be logged in to reply to this topic.