
Question regarding InMotion Hosting's Memory Viewer WordPress Plugin
Category: Wordpress
Okay, now I have another question. Do the memory figures include the Cufon font or jQuery slideshow includes that may be pulled into site? And how about the memory that the TimThumb.php script consumes?
0
|
Hi jjclarkson, The WordPress Memory Viewer plugin uses <a href='http://php.net/manual/en/function.memory-get-usage.php' target='_blank'>PHP's memory_get_usage() function</a> to see how much memory is being used. <strong>According to the function's documentation, this plugin:</strong> Returns the amount of memory, in bytes, that's currently being allocated to your PHP script. I reviewed the documentation again, but it was not too specific as to what is included in the memory usage. What I am fairly confident about however is that the memory usage does not take into consideration images being called. Unless you have PHP set to parse images for some reason, when a user calls for an image from your server, it is simply sent to the user. There is no parsing of that image by PHP, and therefor no increase is added to PHP's memory usage based upon images that you're using. I hope that helps! Thanks, - Brad |
0
|
Hi jjclarkson, As TimThumb.php is parsed by PHP, the memory used by that script should be accounted for in the memory usage displayed. As jQuery is javascript, most of what it is doing is not going to involve any php, so jQuery related scripts and the memory they use should not be in the memory usage display. Javascript runs on the user's browser, so any memory used by Javascript will be used on the users computer and not on the server. Thanks, - Brad |
Like this Question?
Tweet
Related Articles
How to Upload Media to WordPressWordPress - Changing the Site URL and Home Settings (2)
How to Migrate Your WordPress Site from DreamHost to InMotion
How to Migrate a WordPress site from WP Engine
How to Migrate from Wordpress.com
Support Center Login
Our Login page has moved. Please click the button below to be redirected to the login page.Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
---|---|---|---|
Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |