FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Windows binaries 64bit for PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Windows binaries 64bit for PHP [message #178083 is a reply to message #178070] Sat, 12 May 2012 12:42 Go to previous messageGo to previous message
Shake is currently offline  Shake
Messages: 40
Registered: May 2012
Karma:
Member
I thought you don't understood.

I would use the catalogue example:

People visits this page to see the image catalogue. Search engines
visits this page to index images.

If nobody human or machine have entered to this page, there is no
directy linked image nowhere.

So, at this point nobody knows any url to any image of this site. And
there is no image that could be accessed.

The only way to knwo about one of these images is when anyone enter the
php page. And when this occurs, reescaling process will be done if
necesary.

Never, any image will be directly delivered without previosly have been
executed the php.

We have the image /catalogue/images/size_1/123213.jpg Original
We have the image /catalogue/images/size_2/123213.jpg Scaled
We have the image /catalogue/images/size_3/123213.jpg No Scaled.

The catalogue was listed throught /catalogue/index.php that yesterday
was modified using a new size fo thumbnails (size_3).

The third size was created yesterday. Nobody knows his existence, there
is no link to it in any web, search engine or human brain. So nobody
could access. That is a lucky thing, because the image no exist.

When the first visit is done to the /catalogue/index.php the size_2
images start to be generated. If the visit is from a search engine,
then the new images are indexed and could be directly accessed.

so /catalogue/index.php is executed always previous to put on the net
the existence of new images. Included if we have batch reescaled them.
These images will not have internet existence never if the
catalogue/index.php is not executed. with or without reescaling.

And then, this mean that all the supossed overhead about executing PHP
always happen even if you batched the process.

And it's obvious. we are talking about web pages that are created with
php.

I worked for four years in a website for artists. Not the bigger
company but with reasonable traffic, 8 millions page visits per month,
por than 250.000 pages per day. And about 1 million image artwork. A
lot of them of big resolucion.

And in this company we fight against this problem. In some cases we
decided to use batch process and in other cases we decided to do
"on-the-fly".

Big images requires watermarking and some other processes, too slow to
do on-fly. The reescaling required 3 weeks to be done , using three 3
computers.

Other times, for new set of small sizes, we used on the fly. withouth
usign 404 to react to.

Just first time any one enters a page that have new images, new images
were generated. And never happened that any image have been accesses
directly previous to its generation.

The images are always served directly throught lighttp, the php
necesary to generate images was always inside the php app that generate
the web pages.

Greetings
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: is_dir true from cli, false from Apache
Next Topic: in_array performance in unsorted vs sorted array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 19:48:31 GMT 2024

Total time taken to generate the page: 0.05213 seconds