Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN - not able to exclude cookies #258

BestSolutionNo opened this issue Jun 23, 2019 · 1 comment


Copy link

commented Jun 23, 2019


I use AppPresser to access my webpage. When I enable CDN in Autopimize my app is loading only static content. I need to exclude appPressers cookies from been cached.
Is that possible?
More info on this page:
Rest of js and css I want to be on CDN.

Thank you for a good product.

best regards Vilfred


This comment has been minimized.

Copy link

commented Jun 23, 2019

Hey Vilfred;
First of all, the linked article talks about how page caches should be configured, but AO does not do page caching and does not know about cookies, so that should not be an issue.

Now I have not found any info on Autoptimize or similar plugins, but If you encounter issues, I suggest to try to exclude the apppresser theme (and plugins) from CSS and JS optimization (and optionally untick the "minify excluded CSS/JS"-option. Apparently there also is an "app preview" which can be used to see if JavaScript errors are thrown on the browser console, that might also help.

If at that point there still are problems, you could try to disable AO based on the URL (specifically appp=3) using a couple of lines of code which I can provide.

hope this helps,

@futtta futtta closed this Jul 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.