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

[BUG][Commit #9034 - 3.1-alpha] Load time issue with 'catalog/view/theme/default/stylesheet/scss/_variables.scss' #6840

Closed
BeachyHeadCode opened this issue Aug 29, 2018 · 1 comment

Comments

@BeachyHeadCode
Copy link
Contributor

BeachyHeadCode commented Aug 29, 2018

Is anyone else encountering long load times? I did 'strace -r php index.php' on my Linux server (2.3GHz per core) '_variables.scss' file seems to be taking 1 second to load. Why is it even loading? This should only be compiled once every time there is a CSS change and not every PHP instance regardless who queries the webpage. The front end should never see SCSS, This should be converted to CSS

I hardly notice a load time (about half the time) on my Windows desktop which has a 4.2GHz per core processor. I am using thread safe PHP so it is not multi threading a single PHP instance.

0.000124 access("/home/websites/upload/catalog/view/theme/default/stylesheet/scss/_variables.scss", F_OK) = 0
1.074097 access("/home/websites/storage/vendor/composer/../leafo/scssphp/src/Util.php", F_OK) = 0

@BeachyHeadCode
Copy link
Contributor Author

Somehow someone turned SCSS caching off on the production server. For anyone that ever encounters this same problem. That would be the issue. I would suggest locking down access to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant